Class RouterShard

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<RouterShardBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class RouterShard
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<RouterShardBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    RouterShard has information of a routing shard and is used to generate host names and routing table entries when a routing shard is allocated for a specific route. Caveat: This is WIP and will likely undergo modifications when sharding support is added.
    See Also:
    Serialized Form
    • Constructor Detail

      • RouterShard

        public RouterShard()
        No args constructor for use in serialization
      • RouterShard

        public RouterShard​(String dnsSuffix,
                           String shardName)
    • Method Detail

      • getDnsSuffix

        public String getDnsSuffix()
        dnsSuffix for the shard ala: shard-1.v3.openshift.com
      • setDnsSuffix

        public void setDnsSuffix​(String dnsSuffix)
        dnsSuffix for the shard ala: shard-1.v3.openshift.com
      • getShardName

        public String getShardName()
        shardName uniquely identifies a router shard in the "set" of routers used for routing traffic to the services.
      • setShardName

        public void setShardName​(String shardName)
        shardName uniquely identifies a router shard in the "set" of routers used for routing traffic to the services.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)