kubernetes.aio.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: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_node_selector_term.V1NodeSelectorTerm(match_expressions=None, match_fields=None, local_vars_configuration=None)¶
Bases:
objectNOTE: 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:
- 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:
- 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