kubernetes/pkg/apis/networking
Dan Winship 7a56b6e3f7 Add validation.IsValidCIDR
Move apivalidation.ValidateCIDR to apimachinery, and rename it and
change its return value to match the other functions.

Also, add unit tests.

(Also, while updating NetworkPolicy validation for the API change, fix
a variable name that implied that IPBlock.Except[] is IP-valued rather
than CIDR-valued.)
2024-02-07 09:48:01 -05:00
..
fuzzer update ServiceCIDR API: replace IPv4,IPv6 fields by an array of strings 2023-10-31 21:05:06 +00:00
install Add IPAddress API 2023-03-14 22:56:44 +00:00
v1 Generated files for NetworkPolicyStatus removal 2023-05-01 15:19:25 -03:00
v1alpha1 make update with the new API with arrays 2023-10-31 21:05:58 +00:00
v1beta1 api: replace intstr.FromInt with intstr.FromInt32 2023-05-01 09:16:15 +02:00
validation Add validation.IsValidCIDR 2024-02-07 09:48:01 -05:00
doc.go *: Remove comment tags in GoDoc 2018-09-13 20:27:32 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
register.go add ServiceCIDR APIs 2023-10-31 21:05:04 +00:00
types.go update ServiceCIDR API: replace IPv4,IPv6 fields by an array of strings 2023-10-31 21:05:06 +00:00
zz_generated.deepcopy.go make update with the new API with arrays 2023-10-31 21:05:58 +00:00