Closed viccuad closed 4 months ago
Right now, kw.net.lookupHost() is defined as kw.net.lookupHost(<string>) -> <list<string>>.
kw.net.lookupHost()
kw.net.lookupHost(<string>) -> <list<string>>
With Kubernetes 1.30, the CEL library will include a new library IP, which will have a new IPType and functions for it. See: https://github.com/kubernetes/kubernetes/blob/91ee30074bee617d52fc24dc85132fe948aa5153/staging/src/k8s.io/apiserver/pkg/cel/library/ip.go
IP
IPType
kw.net.*
won't do, after further consideration it is fine returning a string and let the user convert it by using the ip
ip
Right now,
kw.net.lookupHost()
is defined askw.net.lookupHost(<string>) -> <list<string>>
.With Kubernetes 1.30, the CEL library will include a new library
IP
, which will have a newIPType
and functions for it. See: https://github.com/kubernetes/kubernetes/blob/91ee30074bee617d52fc24dc85132fe948aa5153/staging/src/k8s.io/apiserver/pkg/cel/library/ip.goAcceptance criteria
IPType
, and validating the IP upon return.kw.net.*
functions.