Class IPBlock
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPBlockBuilderedit()Map<String,Object>getAdditionalProperties()StringgetCidr()CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"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 rangevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCidr(String cidr)CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"voidsetExcept(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 rangeIPBlockBuildertoBuilder()
-
-
-
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
-
edit
public IPBlockBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IPBlockBuilder>
-
toBuilder
public IPBlockBuilder toBuilder()
-
-