Class IPBlock

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class IPBlock
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<IPBlockBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
    See Also:
    Serialized Form
    • Constructor Detail

      • IPBlock

        public IPBlock()
        No args constructor for use in serialization
    • Method Detail

      • getCidr

        public String getCidr()
        CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
      • setCidr

        public void setCidr​(String cidr)
        CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
      • getExcept

        public List<String> getExcept()
        Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range
      • setExcept

        public void setExcept​(List<String> except)
        Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range
      • getAdditionalProperties

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

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

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