kubernetes.aio.client.models.v1alpha2_pod_group_scheduling_constraints 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_pod_group_scheduling_constraints.V1alpha2PodGroupSchedulingConstraints(topology=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 = {'topology': 'topology'}
openapi_types = {'topology': 'list[V1alpha2TopologyConstraint]'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property topology

Gets the topology of this V1alpha2PodGroupSchedulingConstraints. # noqa: E501

Topology defines the topology constraints for the pod group. Currently only a single topology constraint can be specified. This may change in the future. # noqa: E501

Returns:

The topology of this V1alpha2PodGroupSchedulingConstraints. # noqa: E501

Return type:

list[V1alpha2TopologyConstraint]