kubernetes_asyncio.client.models.v1_node_selector_term module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_node_selector_term.V1NodeSelectorTerm(match_expressions=None, match_fields=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'match_expressions': 'matchExpressions', 'match_fields': 'matchFields'}
property match_expressions

Gets the match_expressions of this V1NodeSelectorTerm. # noqa: E501

A list of node selector requirements by node’s labels. # noqa: E501

Returns:

The match_expressions of this V1NodeSelectorTerm. # noqa: E501

Return type:

list[V1NodeSelectorRequirement]

property match_fields

Gets the match_fields of this V1NodeSelectorTerm. # noqa: E501

A list of node selector requirements by node’s fields. # noqa: E501

Returns:

The match_fields of this V1NodeSelectorTerm. # noqa: E501

Return type:

list[V1NodeSelectorRequirement]

openapi_types = {'match_expressions': 'list[V1NodeSelectorRequirement]', 'match_fields': 'list[V1NodeSelectorRequirement]'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model