Class ListenerEntryStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.ListenerEntryStatus
-
- All Implemented Interfaces:
Editable<ListenerEntryStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ListenerEntryStatus extends Object implements Editable<ListenerEntryStatusBuilder>, KubernetesResource
ListenerStatus is the status associated with a Listener.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListenerEntryStatus()No args constructor for use in serializationListenerEntryStatus(Integer attachedRoutes, List<Condition> conditions, String name, List<RouteGroupKind> supportedKinds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerEntryStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAttachedRoutes()AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.List<Condition>getConditions()Conditions describe the current condition of this listener.StringgetName()Name is the name of the Listener that this status corresponds to.List<RouteGroupKind>getSupportedKinds()SupportedKinds is the list indicating the Kinds supported by this listener.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAttachedRoutes(Integer attachedRoutes)AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.voidsetConditions(List<Condition> conditions)Conditions describe the current condition of this listener.voidsetName(String name)Name is the name of the Listener that this status corresponds to.voidsetSupportedKinds(List<RouteGroupKind> supportedKinds)SupportedKinds is the list indicating the Kinds supported by this listener.ListenerEntryStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAttachedRoutes
public Integer getAttachedRoutes()
AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.Successful attachment of a Route to a Listener is based solely on the combination of the AllowedRoutes field on the corresponding Listener and the Route's ParentRefs field. A Route is successfully attached to a Listener when it is selected by the Listener's AllowedRoutes field AND the Route has a valid ParentRef selecting the whole Gateway resource or a specific Listener as a parent resource (more detail on attachment semantics can be found in the documentation on the various Route kinds ParentRefs fields). Listener status does not impact successful attachment, i.e. the AttachedRoutes field count MUST be set for Listeners, even if the Accepted condition of an individual Listener is set to "False". The AttachedRoutes number represents the number of Routes with the Accepted condition set to "True" that have been attached to this Listener. Routes with any other value for the Accepted condition MUST NOT be included in this count.
Uses for this field include troubleshooting Route attachment and measuring blast radius/impact of changes to a Listener.
-
setAttachedRoutes
public void setAttachedRoutes(Integer attachedRoutes)
AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.Successful attachment of a Route to a Listener is based solely on the combination of the AllowedRoutes field on the corresponding Listener and the Route's ParentRefs field. A Route is successfully attached to a Listener when it is selected by the Listener's AllowedRoutes field AND the Route has a valid ParentRef selecting the whole Gateway resource or a specific Listener as a parent resource (more detail on attachment semantics can be found in the documentation on the various Route kinds ParentRefs fields). Listener status does not impact successful attachment, i.e. the AttachedRoutes field count MUST be set for Listeners, even if the Accepted condition of an individual Listener is set to "False". The AttachedRoutes number represents the number of Routes with the Accepted condition set to "True" that have been attached to this Listener. Routes with any other value for the Accepted condition MUST NOT be included in this count.
Uses for this field include troubleshooting Route attachment and measuring blast radius/impact of changes to a Listener.
-
getConditions
public List<Condition> getConditions()
Conditions describe the current condition of this listener.
-
setConditions
public void setConditions(List<Condition> conditions)
Conditions describe the current condition of this listener.
-
getName
public String getName()
Name is the name of the Listener that this status corresponds to.
-
setName
public void setName(String name)
Name is the name of the Listener that this status corresponds to.
-
getSupportedKinds
public List<RouteGroupKind> getSupportedKinds()
SupportedKinds is the list indicating the Kinds supported by this listener. This MUST represent the kinds supported by an implementation for that Listener configuration.If kinds are specified in Spec that are not supported, they MUST NOT appear in this list and an implementation MUST set the "ResolvedRefs" condition to "False" with the "InvalidRouteKinds" reason. If both valid and invalid Route kinds are specified, the implementation MUST reference the valid Route kinds that have been specified.
-
setSupportedKinds
public void setSupportedKinds(List<RouteGroupKind> supportedKinds)
SupportedKinds is the list indicating the Kinds supported by this listener. This MUST represent the kinds supported by an implementation for that Listener configuration.If kinds are specified in Spec that are not supported, they MUST NOT appear in this list and an implementation MUST set the "ResolvedRefs" condition to "False" with the "InvalidRouteKinds" reason. If both valid and invalid Route kinds are specified, the implementation MUST reference the valid Route kinds that have been specified.
-
edit
public ListenerEntryStatusBuilder edit()
- Specified by:
editin interfaceEditable<ListenerEntryStatusBuilder>
-
toBuilder
public ListenerEntryStatusBuilder toBuilder()
-
-