- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for srcIPGenerator (0.23 sec)
-
pilot/pkg/security/authz/model/generator.go
return nil, fmt.Errorf("unimplemented") } type srcIPGenerator struct{} func (srcIPGenerator) permission(_, _ string, _ bool) (*rbacpb.Permission, error) { return nil, fmt.Errorf("unimplemented") } func (srcIPGenerator) principal(_, value string, _ bool, _ bool) (*rbacpb.Principal, error) { cidr, err := util.AddrStrToCidrRange(value) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 18:02:42 UTC 2024 - 14.1K bytes - Viewed (0) -
pilot/pkg/security/authz/model/generator_test.go
path: - key: d value: listMatch: oneOf: stringMatch: exact: v1, v2`), }, { name: "srcIPGenerator", g: srcIPGenerator{}, value: "1.2.3.4", want: yamlPrincipal(t, ` directRemoteIp: addressPrefix: 1.2.3.4 prefixLen: 32`), }, { name: "remoteIPGenerator",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 13K bytes - Viewed (0) -
pilot/pkg/security/authz/model/model.go
} else { basePermission.appendLast(envoyFilterGenerator{}, k, when.Values, when.NotValues) } case k == attrSrcIP: basePrincipal.appendLast(srcIPGenerator{}, k, when.Values, when.NotValues) case k == attrRemoteIP: basePrincipal.appendLast(remoteIPGenerator{}, k, when.Values, when.NotValues) case k == attrSrcNamespace:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 13.8K bytes - Viewed (0)