- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for string_to_ip (0.1 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/ip.go
type ip struct{} func (*ip) LibraryName() string { return "net.ip" } var ipLibraryDecls = map[string][]cel.FunctionOpt{ "ip": { cel.Overload("string_to_ip", []*cel.Type{cel.StringType}, apiservercel.IPType, cel.UnaryBinding(stringToIP)), }, "family": { cel.MemberOverload("ip_family", []*cel.Type{apiservercel.IPType}, cel.IntType, cel.UnaryBinding(family)), }, "ip.isCanonical": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 11:02:34 UTC 2023 - 9.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
// L7 policies never match for ALLOW // For DENY they will always match, so it is more restrictive return nil } match := &security.Match{ SourceIps: stringToIP(op.IpBlocks), NotSourceIps: stringToIP(op.NotIpBlocks), Namespaces: stringToMatch(op.Namespaces), NotNamespaces: stringToMatch(op.NotNamespaces), Principals: stringToMatch(op.Principals),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 16:23:36 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cidr.go
if !ok { return types.MaybeNoSuchOverloadErr(arg) } return types.String(cidr.Prefix.String()) } func cidrContainsIPString(arg ref.Val, other ref.Val) ref.Val { return cidrContainsIP(arg, stringToIP(other)) } func cidrContainsCIDRString(arg ref.Val, other ref.Val) ref.Val { return cidrContainsCIDR(arg, stringToCIDR(other)) } func cidrContainsIP(arg ref.Val, other ref.Val) ref.Val {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:04 UTC 2023 - 8.9K bytes - Viewed (0)