def __init__(self, fs_type=None, image=None, keyring=None, monitors=None, pool=None, read_only=None, secret_ref=None, user=None, local_vars_configuration=None): # noqa: E501 """V1RBDVolumeSource - 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._fs_type = None self._image = None self._keyring = None self._monitors = None self._pool = None self._read_only = None self._secret_ref = None self._user = None self.discriminator = None if fs_type is not None: self.fs_type = fs_type self.image = image if keyring is not None: self.keyring = keyring self.monitors = monitors if pool is not None: self.pool = pool if read_only is not None: self.read_only = read_only if secret_ref is not None: self.secret_ref = secret_ref if user is not None: self.user = user
def __init__(self, causes=None, group=None, kind=None, name=None, retry_after_seconds=None, uid=None, local_vars_configuration=None): # noqa: E501 """V1StatusDetails - 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._causes = None self._group = None self._kind = None self._name = None self._retry_after_seconds = None self._uid = None self.discriminator = None if causes is not None: self.causes = causes if group is not None: self.group = group if kind is not None: self.kind = kind if name is not None: self.name = name if retry_after_seconds is not None: self.retry_after_seconds = retry_after_seconds if uid is not None: self.uid = uid
def __init__(self, default=None, jq_filter=None, json_path=None, parameter=None, path=None, local_vars_configuration=None): # noqa: E501 """V1alpha1ValueFrom - 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._default = None self._jq_filter = None self._json_path = None self._parameter = None self._path = None self.discriminator = None if default is not None: self.default = default if jq_filter is not None: self.jq_filter = jq_filter if json_path is not None: self.json_path = json_path if parameter is not None: self.parameter = parameter if path is not None: self.path = path
def __init__(self, counter=None, gauge=None, help=None, histogram=None, labels=None, name=None, when=None, local_vars_configuration=None): # noqa: E501 """V1alpha1Prometheus - 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._counter = None self._gauge = None self._help = None self._histogram = None self._labels = None self._name = None self._when = None self.discriminator = None if counter is not None: self.counter = counter if gauge is not None: self.gauge = gauge self.help = help if histogram is not None: self.histogram = histogram if labels is not None: self.labels = labels self.name = name if when is not None: self.when = when
def __init__(self, artifacts=None, exit_code=None, parameters=None, result=None, local_vars_configuration=None): # noqa: E501 """V1alpha1Outputs - 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._artifacts = None self._exit_code = None self._parameters = None self._result = None self.discriminator = None if artifacts is not None: self.artifacts = artifacts if exit_code is not None: self.exit_code = exit_code if parameters is not None: self.parameters = parameters if result is not None: self.result = result
def __init__(self, default_mode=None, items=None, optional=None, secret_name=None, local_vars_configuration=None): # noqa: E501 """V1SecretVolumeSource - 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._default_mode = None self._items = None self._optional = None self._secret_name = None self.discriminator = None if default_mode is not None: self.default_mode = default_mode if items is not None: self.items = items if optional is not None: self.optional = optional if secret_name is not None: self.secret_name = secret_name
def __init__(self, count=None, end=None, format=None, start=None, local_vars_configuration=None): # noqa: E501 """V1alpha1Sequence - 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._end = None self._format = None self._start = None self.discriminator = None if count is not None: self.count = count if end is not None: self.end = end if format is not None: self.format = format if start is not None: self.start = start
def __init__(self, name=None, namespace=None, node_field_selector=None, restart_successful=None, local_vars_configuration=None): # noqa: E501 """V1alpha1WorkflowRetryRequest - 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._node_field_selector = None self._restart_successful = None self.discriminator = None if name is not None: self.name = name if namespace is not None: self.namespace = namespace if node_field_selector is not None: self.node_field_selector = node_field_selector if restart_successful is not None: self.restart_successful = restart_successful
def __init__(self, config_map=None, downward_api=None, secret=None, service_account_token=None, local_vars_configuration=None): # noqa: E501 """V1VolumeProjection - 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._config_map = None self._downward_api = None self._secret = None self._service_account_token = None self.discriminator = None if config_map is not None: self.config_map = config_map if downward_api is not None: self.downward_api = downward_api if secret is not None: self.secret = secret if service_account_token is not None: self.service_account_token = service_account_token
def __init__(self, last_probe_time=None, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 """V1PersistentVolumeClaimCondition - 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_probe_time = None self._last_transition_time = None self._message = None self._reason = None self._status = None self._type = None self.discriminator = None if last_probe_time is not None: self.last_probe_time = last_probe_time 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 self.status = status self.type = type
def __init__(self, create_options=None, instance_id=None, namespace=None, server_dry_run=None, workflow=None, local_vars_configuration=None): # noqa: E501 """V1alpha1WorkflowCreateRequest - 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._create_options = None self._instance_id = None self._namespace = None self._server_dry_run = None self._workflow = None self.discriminator = None if create_options is not None: self.create_options = create_options if instance_id is not None: self.instance_id = instance_id if namespace is not None: self.namespace = namespace if server_dry_run is not None: self.server_dry_run = server_dry_run if workflow is not None: self.workflow = workflow
def __init__(self, _continue=None, remaining_item_count=None, resource_version=None, self_link=None, local_vars_configuration=None): # noqa: E501 """V1ListMeta - 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.__continue = None self._remaining_item_count = None self._resource_version = None self._self_link = None self.discriminator = None if _continue is not None: self._continue = _continue if remaining_item_count is not None: self.remaining_item_count = remaining_item_count if resource_version is not None: self.resource_version = resource_version if self_link is not None: self.self_link = self_link
def __init__(self, config_map_key_ref=None, field_ref=None, resource_field_ref=None, secret_key_ref=None, local_vars_configuration=None): # noqa: E501 """V1EnvVarSource - 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._config_map_key_ref = None self._field_ref = None self._resource_field_ref = None self._secret_key_ref = None self.discriminator = None if config_map_key_ref is not None: self.config_map_key_ref = config_map_key_ref if field_ref is not None: self.field_ref = field_ref if resource_field_ref is not None: self.resource_field_ref = resource_field_ref if secret_key_ref is not None: self.secret_key_ref = secret_key_ref
def __init__(self, namespace=None, resource_kind=None, resource_name=None, submit_options=None, local_vars_configuration=None): # noqa: E501 """V1alpha1WorkflowSubmitRequest - 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._namespace = None self._resource_kind = None self._resource_name = None self._submit_options = None self.discriminator = None if namespace is not None: self.namespace = namespace if resource_kind is not None: self.resource_kind = resource_kind if resource_name is not None: self.resource_name = resource_name if submit_options is not None: self.submit_options = submit_options
def __init__(self, access_modes=None, data_source=None, resources=None, selector=None, storage_class_name=None, volume_mode=None, volume_name=None, local_vars_configuration=None): # noqa: E501 """V1PersistentVolumeClaimSpec - 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._access_modes = None self._data_source = None self._resources = None self._selector = None self._storage_class_name = None self._volume_mode = None self._volume_name = None self.discriminator = None if access_modes is not None: self.access_modes = access_modes if data_source is not None: self.data_source = data_source if resources is not None: self.resources = resources if selector is not None: self.selector = selector if storage_class_name is not None: self.storage_class_name = storage_class_name if volume_mode is not None: self.volume_mode = volume_mode if volume_name is not None: self.volume_name = volume_name
def __init__(self, action=None, failure_condition=None, flags=None, manifest=None, merge_strategy=None, set_owner_reference=None, success_condition=None, local_vars_configuration=None): # noqa: E501 """V1alpha1ResourceTemplate - 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._action = None self._failure_condition = None self._flags = None self._manifest = None self._merge_strategy = None self._set_owner_reference = None self._success_condition = None self.discriminator = None self.action = action if failure_condition is not None: self.failure_condition = failure_condition if flags is not None: self.flags = flags if manifest is not None: self.manifest = manifest if merge_strategy is not None: self.merge_strategy = merge_strategy if set_owner_reference is not None: self.set_owner_reference = set_owner_reference if success_condition is not None: self.success_condition = success_condition
def __init__(self, message=None, name=None, namespace=None, node_field_selector=None, output_parameters=None, phase=None, local_vars_configuration=None): # noqa: E501 """V1alpha1WorkflowSetRequest - 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._message = None self._name = None self._namespace = None self._node_field_selector = None self._output_parameters = None self._phase = None self.discriminator = None if message is not None: self.message = message if name is not None: self.name = name if namespace is not None: self.namespace = namespace if node_field_selector is not None: self.node_field_selector = node_field_selector if output_parameters is not None: self.output_parameters = output_parameters if phase is not None: self.phase = phase
def __init__(self, api_version=None, block_owner_deletion=None, controller=None, kind=None, name=None, uid=None, local_vars_configuration=None): # noqa: E501 """V1OwnerReference - 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._block_owner_deletion = None self._controller = None self._kind = None self._name = None self._uid = None self.discriminator = None self.api_version = api_version if block_owner_deletion is not None: self.block_owner_deletion = block_owner_deletion if controller is not None: self.controller = controller self.kind = kind self.name = name self.uid = uid
def __init__(self, mount_path=None, mount_propagation=None, name=None, read_only=None, sub_path=None, sub_path_expr=None, local_vars_configuration=None): # noqa: E501 """V1VolumeMount - 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._mount_path = None self._mount_propagation = None self._name = None self._read_only = None self._sub_path = None self._sub_path_expr = None self.discriminator = None self.mount_path = mount_path if mount_propagation is not None: self.mount_propagation = mount_propagation self.name = name if read_only is not None: self.read_only = read_only if sub_path is not None: self.sub_path = sub_path if sub_path_expr is not None: self.sub_path_expr = sub_path_expr
def __init__(self, cluster_scope=None, name=None, runtime_resolution=None, template=None, local_vars_configuration=None): # noqa: E501 """V1alpha1TemplateRef - 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._cluster_scope = None self._name = None self._runtime_resolution = None self._template = None self.discriminator = None if cluster_scope is not None: self.cluster_scope = cluster_scope if name is not None: self.name = name if runtime_resolution is not None: self.runtime_resolution = runtime_resolution if template is not None: self.template = template
def __init__(self, default=None, global_name=None, name=None, value=None, value_from=None, local_vars_configuration=None): # noqa: E501 """V1alpha1Parameter - 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._default = None self._global_name = None self._name = None self._value = None self._value_from = None self.discriminator = None if default is not None: self.default = default if global_name is not None: self.global_name = global_name self.name = name if value is not None: self.value = value if value_from is not None: self.value_from = value_from
def __init__(self, container_port=None, host_ip=None, host_port=None, name=None, protocol=None, local_vars_configuration=None): # noqa: E501 """V1ContainerPort - 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._container_port = None self._host_ip = None self._host_port = None self._name = None self._protocol = None self.discriminator = None self.container_port = container_port if host_ip is not None: self.host_ip = host_ip if host_port is not None: self.host_port = host_port if name is not None: self.name = name if protocol is not None: self.protocol = protocol
def __init__(self, monitors=None, path=None, read_only=None, secret_file=None, secret_ref=None, user=None, local_vars_configuration=None): # noqa: E501 """V1CephFSVolumeSource - 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._monitors = None self._path = None self._read_only = None self._secret_file = None self._secret_ref = None self._user = None self.discriminator = None self.monitors = monitors if path is not None: self.path = path if read_only is not None: self.read_only = read_only if secret_file is not None: self.secret_file = secret_file if secret_ref is not None: self.secret_ref = secret_ref if user is not None: self.user = user
def __init__(self, build_date=None, compiler=None, git_commit=None, git_tag=None, git_tree_state=None, go_version=None, platform=None, version=None, local_vars_configuration=None): # noqa: E501 """V1alpha1Version - 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._build_date = None self._compiler = None self._git_commit = None self._git_tag = None self._git_tree_state = None self._go_version = None self._platform = None self._version = None self.discriminator = None self.build_date = build_date self.compiler = compiler self.git_commit = git_commit self.git_tag = git_tag self.git_tree_state = git_tree_state self.go_version = go_version self.platform = platform self.version = version
def __init__(self, driver=None, fs_type=None, options=None, read_only=None, secret_ref=None, local_vars_configuration=None): # noqa: E501 """V1FlexVolumeSource - 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._driver = None self._fs_type = None self._options = None self._read_only = None self._secret_ref = None self.discriminator = None self.driver = driver if fs_type is not None: self.fs_type = fs_type if options is not None: self.options = options if read_only is not None: self.read_only = read_only if secret_ref is not None: self.secret_ref = secret_ref
def __init__(self, fs_group=None, run_as_group=None, run_as_non_root=None, run_as_user=None, se_linux_options=None, supplemental_groups=None, sysctls=None, windows_options=None, local_vars_configuration=None): # noqa: E501 """V1PodSecurityContext - 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._fs_group = None self._run_as_group = None self._run_as_non_root = None self._run_as_user = None self._se_linux_options = None self._supplemental_groups = None self._sysctls = None self._windows_options = None self.discriminator = None if fs_group is not None: self.fs_group = fs_group if run_as_group is not None: self.run_as_group = run_as_group if run_as_non_root is not None: self.run_as_non_root = run_as_non_root if run_as_user is not None: self.run_as_user = run_as_user if se_linux_options is not None: self.se_linux_options = se_linux_options if supplemental_groups is not None: self.supplemental_groups = supplemental_groups if sysctls is not None: self.sysctls = sysctls if windows_options is not None: self.windows_options = windows_options
def __init__(self, host=None, http_headers=None, path=None, scheme=None, local_vars_configuration=None): # noqa: E501 """V1HTTPGetAction - 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._host = None self._http_headers = None self._path = None self._scheme = None self.discriminator = None if host is not None: self.host = host if http_headers is not None: self.http_headers = http_headers if path is not None: self.path = path if scheme is not None: self.scheme = scheme
def __init__(self, fs_type=None, read_only=None, secret_ref=None, volume_name=None, volume_namespace=None, local_vars_configuration=None): # noqa: E501 """V1StorageOSVolumeSource - 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._fs_type = None self._read_only = None self._secret_ref = None self._volume_name = None self._volume_namespace = None self.discriminator = None if fs_type is not None: self.fs_type = fs_type if read_only is not None: self.read_only = read_only if secret_ref is not None: self.secret_ref = secret_ref if volume_name is not None: self.volume_name = volume_name if volume_namespace is not None: self.volume_namespace = volume_namespace
def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 """V1alpha1Workflow - 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 self.metadata = metadata self.spec = spec if status is not None: self.status = status
def __init__(self, caching_mode=None, disk_name=None, disk_uri=None, fs_type=None, kind=None, read_only=None, local_vars_configuration=None): # noqa: E501 """V1AzureDiskVolumeSource - 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._caching_mode = None self._disk_name = None self._disk_uri = None self._fs_type = None self._kind = None self._read_only = None self.discriminator = None if caching_mode is not None: self.caching_mode = caching_mode self.disk_name = disk_name self.disk_uri = disk_uri if fs_type is not None: self.fs_type = fs_type if kind is not None: self.kind = kind if read_only is not None: self.read_only = read_only