Class ComponentRouteStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ComponentRouteStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ComponentRouteStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ComponentRouteStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ComponentRouteStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ComponentRouteStatus contains information allowing configuration of a route's hostname and serving certificate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentRouteStatus()No args constructor for use in serializationComponentRouteStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, List<String> consumingUsers, List<String> currentHostnames, String defaultHostname, String name, String namespace, List<ObjectReference> relatedObjects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentRouteStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions are used to communicate the state of the componentRoutes entry.List<String>getConsumingUsers()consumingUsers is a slice of ServiceAccounts that need to have read permission on the servingCertKeyPairSecret secret.List<String>getCurrentHostnames()currentHostnames is the list of current names used by the route.StringgetDefaultHostname()defaultHostname is the hostname of this route prior to customization.StringgetName()name is the logical name of the route to customize.StringgetNamespace()namespace is the namespace of the route to customize.List<ObjectReference>getRelatedObjects()relatedObjects is a list of resources which are useful when debugging or inspecting how spec.componentRoutes is applied.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions are used to communicate the state of the componentRoutes entry.voidsetConsumingUsers(List<String> consumingUsers)consumingUsers is a slice of ServiceAccounts that need to have read permission on the servingCertKeyPairSecret secret.voidsetCurrentHostnames(List<String> currentHostnames)currentHostnames is the list of current names used by the route.voidsetDefaultHostname(String defaultHostname)defaultHostname is the hostname of this route prior to customization.voidsetName(String name)name is the logical name of the route to customize.voidsetNamespace(String namespace)namespace is the namespace of the route to customize.voidsetRelatedObjects(List<ObjectReference> relatedObjects)relatedObjects is a list of resources which are useful when debugging or inspecting how spec.componentRoutes is applied.ComponentRouteStatusBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions are used to communicate the state of the componentRoutes entry.Supported conditions include Available, Degraded and Progressing.
If available is true, the content served by the route can be accessed by users. This includes cases where a default may continue to serve content while the customized route specified by the cluster-admin is being configured.
If Degraded is true, that means something has gone wrong trying to handle the componentRoutes entry. The currentHostnames field may or may not be in effect.
If Progressing is true, that means the component is taking some action related to the componentRoutes entry.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions are used to communicate the state of the componentRoutes entry.Supported conditions include Available, Degraded and Progressing.
If available is true, the content served by the route can be accessed by users. This includes cases where a default may continue to serve content while the customized route specified by the cluster-admin is being configured.
If Degraded is true, that means something has gone wrong trying to handle the componentRoutes entry. The currentHostnames field may or may not be in effect.
If Progressing is true, that means the component is taking some action related to the componentRoutes entry.
-
getConsumingUsers
public List<String> getConsumingUsers()
consumingUsers is a slice of ServiceAccounts that need to have read permission on the servingCertKeyPairSecret secret.
-
setConsumingUsers
public void setConsumingUsers(List<String> consumingUsers)
consumingUsers is a slice of ServiceAccounts that need to have read permission on the servingCertKeyPairSecret secret.
-
getCurrentHostnames
public List<String> getCurrentHostnames()
currentHostnames is the list of current names used by the route. Typically, this list should consist of a single hostname, but if multiple hostnames are supported by the route the operator may write multiple entries to this list.
-
setCurrentHostnames
public void setCurrentHostnames(List<String> currentHostnames)
currentHostnames is the list of current names used by the route. Typically, this list should consist of a single hostname, but if multiple hostnames are supported by the route the operator may write multiple entries to this list.
-
getDefaultHostname
public String getDefaultHostname()
defaultHostname is the hostname of this route prior to customization.
-
setDefaultHostname
public void setDefaultHostname(String defaultHostname)
defaultHostname is the hostname of this route prior to customization.
-
getName
public String getName()
name is the logical name of the route to customize. It does not have to be the actual name of a route resource but it cannot be renamed.The namespace and name of this componentRoute must match a corresponding entry in the list of spec.componentRoutes if the route is to be customized.
-
setName
public void setName(String name)
name is the logical name of the route to customize. It does not have to be the actual name of a route resource but it cannot be renamed.The namespace and name of this componentRoute must match a corresponding entry in the list of spec.componentRoutes if the route is to be customized.
-
getNamespace
public String getNamespace()
namespace is the namespace of the route to customize. It must be a real namespace. Using an actual namespace ensures that no two components will conflict and the same component can be installed multiple times.The namespace and name of this componentRoute must match a corresponding entry in the list of spec.componentRoutes if the route is to be customized.
-
setNamespace
public void setNamespace(String namespace)
namespace is the namespace of the route to customize. It must be a real namespace. Using an actual namespace ensures that no two components will conflict and the same component can be installed multiple times.The namespace and name of this componentRoute must match a corresponding entry in the list of spec.componentRoutes if the route is to be customized.
-
getRelatedObjects
public List<ObjectReference> getRelatedObjects()
relatedObjects is a list of resources which are useful when debugging or inspecting how spec.componentRoutes is applied.
-
setRelatedObjects
public void setRelatedObjects(List<ObjectReference> relatedObjects)
relatedObjects is a list of resources which are useful when debugging or inspecting how spec.componentRoutes is applied.
-
edit
public ComponentRouteStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ComponentRouteStatusBuilder>
-
toBuilder
public ComponentRouteStatusBuilder toBuilder()
-
-