Class RouteParentStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.RouteParentStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RouteParentStatusBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RouteParentStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<RouteParentStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RouteParentStatus describes the status of a route with respect to an associated Parent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteParentStatus()
No args constructor for use in serializationRouteParentStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, String controllerName, ParentReference parentRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteParentStatusBuilder
edit()
Map<String,Object>
getAdditionalProperties()
List<io.fabric8.kubernetes.api.model.Condition>
getConditions()
Conditions describes the status of the route with respect to the Gateway.String
getControllerName()
ControllerName is a domain/path string that indicates the name of the controller that wrote this status.ParentReference
getParentRef()
RouteParentStatus describes the status of a route with respect to an associated Parent.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
Conditions describes the status of the route with respect to the Gateway.void
setControllerName(String controllerName)
ControllerName is a domain/path string that indicates the name of the controller that wrote this status.void
setParentRef(ParentReference parentRef)
RouteParentStatus describes the status of a route with respect to an associated Parent.RouteParentStatusBuilder
toBuilder()
-
-
-
Constructor Detail
-
RouteParentStatus
public RouteParentStatus()
No args constructor for use in serialization
-
RouteParentStatus
public RouteParentStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, String controllerName, ParentReference parentRef)
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
Conditions describes the status of the route with respect to the Gateway. Note that the route's availability is also subject to the Gateway's own status conditions and listener status.If the Route's ParentRef specifies an existing Gateway that supports Routes of this kind AND that Gateway's controller has sufficient access, then that Gateway's controller MUST set the "Accepted" condition on the Route, to indicate whether the route has been accepted or rejected by the Gateway, and why.
A Route MUST be considered "Accepted" if at least one of the Route's rules is implemented by the Gateway.
There are a number of cases where the "Accepted" condition may not be set due to lack of controller visibility, that includes when:
* The Route refers to a non-existent parent. * The Route is of a type that the controller does not support. * The Route is in a namespace the controller does not have access to.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
Conditions describes the status of the route with respect to the Gateway. Note that the route's availability is also subject to the Gateway's own status conditions and listener status.If the Route's ParentRef specifies an existing Gateway that supports Routes of this kind AND that Gateway's controller has sufficient access, then that Gateway's controller MUST set the "Accepted" condition on the Route, to indicate whether the route has been accepted or rejected by the Gateway, and why.
A Route MUST be considered "Accepted" if at least one of the Route's rules is implemented by the Gateway.
There are a number of cases where the "Accepted" condition may not be set due to lack of controller visibility, that includes when:
* The Route refers to a non-existent parent. * The Route is of a type that the controller does not support. * The Route is in a namespace the controller does not have access to.
-
getControllerName
public String getControllerName()
ControllerName is a domain/path string that indicates the name of the controller that wrote this status. This corresponds with the controllerName field on GatewayClass.Example: "example.net/gateway-controller".
The format of this field is DOMAIN "/" PATH, where DOMAIN and PATH are valid Kubernetes names (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Controllers MUST populate this field when writing status. Controllers should ensure that entries to status populated with their ControllerName are cleaned up when they are no longer necessary.
-
setControllerName
public void setControllerName(String controllerName)
ControllerName is a domain/path string that indicates the name of the controller that wrote this status. This corresponds with the controllerName field on GatewayClass.Example: "example.net/gateway-controller".
The format of this field is DOMAIN "/" PATH, where DOMAIN and PATH are valid Kubernetes names (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Controllers MUST populate this field when writing status. Controllers should ensure that entries to status populated with their ControllerName are cleaned up when they are no longer necessary.
-
getParentRef
public ParentReference getParentRef()
RouteParentStatus describes the status of a route with respect to an associated Parent.
-
setParentRef
public void setParentRef(ParentReference parentRef)
RouteParentStatus describes the status of a route with respect to an associated Parent.
-
edit
public RouteParentStatusBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<RouteParentStatusBuilder>
-
toBuilder
public RouteParentStatusBuilder toBuilder()
-
-