- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BuildTCP (0.48 sec)
-
pilot/pkg/security/authz/builder/builder.go
b.logger.AppendDebugf("built %d HTTP filters for ALLOW action", len(configs.http)) filters = append(filters, configs.http...) } return filters } // BuildTCP returns the TCP filters built from the authorization policy. func (b Builder) BuildTCP() []*listener.Filter { b.logger = &AuthzLogger{} defer b.logger.Report() if b.option.IsCustomBuilder {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 12.6K bytes - Viewed (0) -
pilot/pkg/networking/core/networkfilter.go
} // TODO: not sure why it goes here filters = append(filters, authzCustomBuilder.BuildTCP()...) // Authn filters = extension.PopAppendNetwork(filters, wasm, extensions.PluginPhase_AUTHN) // Authz filters = extension.PopAppendNetwork(filters, wasm, extensions.PluginPhase_AUTHZ) filters = append(filters, authzBuilder.BuildTCP()...) // Stats
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.7K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/builder_test.go
policies := push.AuthzPolicies.ListAuthorizationPolicies(selectionOpts) g := New(tc.tdBundle, push, policies, option) if g == nil { t.Fatalf("failed to create generator") } got := g.BuildTCP() verify(t, convertTCP(got), baseDir, tc.want, true /* forTCP */) }) } } func verify(t *testing.T, gots []proto.Message, baseDir string, wants []string, forTCP bool) { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.8K bytes - Viewed (0)