Class ExternalIPPolicy

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ExternalIPPolicy
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ExternalIPPolicyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ExternalIPPolicy configures exactly which IPs are allowed for the ExternalIP field in a Service. If the zero struct is supplied, then none are permitted. The policy controller always allows automatically assigned external IPs.
    See Also:
    Serialized Form
    • Constructor Detail

      • ExternalIPPolicy

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

        public ExternalIPPolicy​(List<String> allowedCIDRs,
                                List<String> rejectedCIDRs)
    • Method Detail

      • getAllowedCIDRs

        public List<String> getAllowedCIDRs()
        allowedCIDRs is the list of allowed CIDRs.
      • setAllowedCIDRs

        public void setAllowedCIDRs​(List<String> allowedCIDRs)
        allowedCIDRs is the list of allowed CIDRs.
      • getRejectedCIDRs

        public List<String> getRejectedCIDRs()
        rejectedCIDRs is the list of disallowed CIDRs. These take precedence over allowedCIDRs.
      • setRejectedCIDRs

        public void setRejectedCIDRs​(List<String> rejectedCIDRs)
        rejectedCIDRs is the list of disallowed CIDRs. These take precedence over allowedCIDRs.
      • getAdditionalProperties

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

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

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