Class EgressRouterSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class EgressRouterSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<EgressRouterSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    EgressRouterSpec contains the configuration for an egress router. Mode, networkInterface and addresses fields must be specified along with exactly one "Config" that matches the mode. Each config consists of parameters specific to that mode.
    See Also:
    Serialized Form
    • Method Detail

      • getAddresses

        public List<EgressRouterAddress> getAddresses()
        List of IP addresses to configure on the pod's secondary interface.
      • setAddresses

        public void setAddresses​(List<EgressRouterAddress> addresses)
        List of IP addresses to configure on the pod's secondary interface.
      • getMode

        public String getMode()
        mode depicts the mode that is used for the egress router. The default mode is "Redirect" and is the only supported mode currently.
      • setMode

        public void setMode​(String mode)
        mode depicts the mode that is used for the egress router. The default mode is "Redirect" and is the only supported mode currently.
      • getNetworkInterface

        public EgressRouterInterface getNetworkInterface()
        EgressRouterSpec contains the configuration for an egress router. Mode, networkInterface and addresses fields must be specified along with exactly one "Config" that matches the mode. Each config consists of parameters specific to that mode.
      • setNetworkInterface

        public void setNetworkInterface​(EgressRouterInterface networkInterface)
        EgressRouterSpec contains the configuration for an egress router. Mode, networkInterface and addresses fields must be specified along with exactly one "Config" that matches the mode. Each config consists of parameters specific to that mode.
      • getRedirect

        public RedirectConfig getRedirect()
        EgressRouterSpec contains the configuration for an egress router. Mode, networkInterface and addresses fields must be specified along with exactly one "Config" that matches the mode. Each config consists of parameters specific to that mode.
      • setRedirect

        public void setRedirect​(RedirectConfig redirect)
        EgressRouterSpec contains the configuration for an egress router. Mode, networkInterface and addresses fields must be specified along with exactly one "Config" that matches the mode. Each config consists of parameters specific to that mode.
      • getAdditionalProperties

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

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

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