Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1EndpointSubset
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1EndpointSubset
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1EndpointSubset extends Object
EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ]
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSESstatic StringJSON_PROPERTY_NOT_READY_ADDRESSESstatic StringJSON_PROPERTY_PORTS
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1EndpointSubset()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESSES
public static final String JSON_PROPERTY_ADDRESSES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOT_READY_ADDRESSES
public static final String JSON_PROPERTY_NOT_READY_ADDRESSES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORTS
public static final String JSON_PROPERTY_PORTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
addresses
public IoK8sApiCoreV1EndpointSubset addresses(List<IoK8sApiCoreV1EndpointAddress> addresses)
-
addAddressesItem
public IoK8sApiCoreV1EndpointSubset addAddressesItem(IoK8sApiCoreV1EndpointAddress addressesItem)
-
getAddresses
@Nullable public List<IoK8sApiCoreV1EndpointAddress> getAddresses()
IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.- Returns:
- addresses
-
setAddresses
public void setAddresses(List<IoK8sApiCoreV1EndpointAddress> addresses)
-
notReadyAddresses
public IoK8sApiCoreV1EndpointSubset notReadyAddresses(List<IoK8sApiCoreV1EndpointAddress> notReadyAddresses)
-
addNotReadyAddressesItem
public IoK8sApiCoreV1EndpointSubset addNotReadyAddressesItem(IoK8sApiCoreV1EndpointAddress notReadyAddressesItem)
-
getNotReadyAddresses
@Nullable public List<IoK8sApiCoreV1EndpointAddress> getNotReadyAddresses()
IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.- Returns:
- notReadyAddresses
-
setNotReadyAddresses
public void setNotReadyAddresses(List<IoK8sApiCoreV1EndpointAddress> notReadyAddresses)
-
ports
public IoK8sApiCoreV1EndpointSubset ports(List<IoK8sApiCoreV1EndpointPort> ports)
-
addPortsItem
public IoK8sApiCoreV1EndpointSubset addPortsItem(IoK8sApiCoreV1EndpointPort portsItem)
-
getPorts
@Nullable public List<IoK8sApiCoreV1EndpointPort> getPorts()
Port numbers available on the related IP addresses.- Returns:
- ports
-
setPorts
public void setPorts(List<IoK8sApiCoreV1EndpointPort> ports)
-
-