kubernetes.aio.client.models.v1alpha2_topology_constraint 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.v1alpha2_topology_constraint.V1alpha2TopologyConstraint(key=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 = {'key': 'key'}
property key

Gets the key of this V1alpha2TopologyConstraint. # noqa: E501

Key specifies the key of the node label representing the topology domain. All pods within the PodGroup must be colocated within the same domain instance. Different PodGroups can land on different domain instances even if they derive from the same PodGroupTemplate. Examples: “topology.kubernetes.io/rack” # noqa: E501

Returns:

The key of this V1alpha2TopologyConstraint. # noqa: E501

Return type:

str

openapi_types = {'key': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model