kubernetes_asyncio.client.models.v1_endpoint 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_endpoint.V1Endpoint(addresses=None, conditions=None, deprecated_topology=None, hints=None, hostname=None, node_name=None, target_ref=None, zone=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.
- property addresses
Gets the addresses of this V1Endpoint. # noqa: E501
addresses of this endpoint. For EndpointSlices of addressType “IPv4” or “IPv6”, the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them. # noqa: E501
- Returns:
The addresses of this V1Endpoint. # noqa: E501
- Return type:
list[str]
- attribute_map = {'addresses': 'addresses', 'conditions': 'conditions', 'deprecated_topology': 'deprecatedTopology', 'hints': 'hints', 'hostname': 'hostname', 'node_name': 'nodeName', 'target_ref': 'targetRef', 'zone': 'zone'}
- property conditions
Gets the conditions of this V1Endpoint. # noqa: E501
- Returns:
The conditions of this V1Endpoint. # noqa: E501
- Return type:
- property deprecated_topology
Gets the deprecated_topology of this V1Endpoint. # noqa: E501
deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead. # noqa: E501
- Returns:
The deprecated_topology of this V1Endpoint. # noqa: E501
- Return type:
dict(str, str)
- property hints
Gets the hints of this V1Endpoint. # noqa: E501
- Returns:
The hints of this V1Endpoint. # noqa: E501
- Return type:
- property hostname
Gets the hostname of this V1Endpoint. # noqa: E501
hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation. # noqa: E501
- Returns:
The hostname of this V1Endpoint. # noqa: E501
- Return type:
str
- property node_name
Gets the node_name of this V1Endpoint. # noqa: E501
nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. # noqa: E501
- Returns:
The node_name of this V1Endpoint. # noqa: E501
- Return type:
str
- openapi_types = {'addresses': 'list[str]', 'conditions': 'V1EndpointConditions', 'deprecated_topology': 'dict(str, str)', 'hints': 'V1EndpointHints', 'hostname': 'str', 'node_name': 'str', 'target_ref': 'V1ObjectReference', 'zone': 'str'}
- property target_ref
Gets the target_ref of this V1Endpoint. # noqa: E501
- Returns:
The target_ref of this V1Endpoint. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property zone
Gets the zone of this V1Endpoint. # noqa: E501
zone is the name of the Zone this endpoint exists in. # noqa: E501
- Returns:
The zone of this V1Endpoint. # noqa: E501
- Return type:
str