- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for NamespaceName (0.17 sec)
-
pkg/test/framework/components/echo/match/matchers.go
} } return false } } // Namespace matches instances within the given namespace name. func Namespace(n namespace.Instance) Matcher { return NamespaceName(n.Name()) } // NamespaceName matches instances within the given namespace name. func NamespaceName(ns string) Matcher { return func(i echo.Instance) bool { return i.Config().Namespace.Name() == ns } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/test/framework/components/echo/config.go
func ConfigFuture(custom *[]Config) ConfigGetter { return func() []Config { return *custom } } // NamespaceName returns the string name of the namespace. func (c Config) NamespaceName() string { return c.NamespacedName().NamespaceName() } // NamespacedName returns the namespaced name for the service. func (c Config) NamespacedName() NamespacedName { return NamespacedName{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matchers_test.go
cfg := echo.Config(f) _ = cfg.FillDefaults(nil) return cfg } func (f fakeInstance) ServiceName() string { return f.Config().Service } func (f fakeInstance) NamespaceName() string { return f.Config().NamespaceName() } func (f fakeInstance) ServiceAccountName() string { return f.Config().ServiceAccountName() } func (f fakeInstance) ClusterLocalFQDN() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters_test.go
cfg := echo.Config(f) _ = cfg.FillDefaults(nil) return cfg } func (f fakeInstance) ServiceName() string { return f.Config().Service } func (f fakeInstance) NamespaceName() string { return f.Config().NamespaceName() } func (f fakeInstance) ServiceAccountName() string { return f.Config().ServiceAccountName() } func (f fakeInstance) ClusterLocalFQDN() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 13.1K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
fp.servicesSynced = true fp.endpointSlicesSynced = true // Add initial service serviceName := "svc1" namespaceName := "ns1" fp.OnServiceAdd(&v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespaceName}, Spec: v1.ServiceSpec{ ClusterIP: "172.20.1.1", Selector: map[string]string{"foo": "bar"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
tests/integration/security/cacert_rotation/main_test.go
podID, err := getPodID(i) if err != nil { t.Fatalf("Could not get Pod ID: %v", err) } podName := fmt.Sprintf("%s.%s", podID, i.NamespaceName()) out, errOut, err := ctl.Invoke([]string{"pc", "s", podName, "-o", "json"}) if err != nil || errOut != "" { t.Errorf("failed to retrieve pod secret from %s, err: %v errOut: %s", podName, err, errOut) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.6K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
} }) } } }) } func buildQuery(src, dst echo.Instance) prometheus.Query { query := prometheus.Query{} srcns := src.NamespaceName() destns := dst.NamespaceName() labels := map[string]string{ "reporter": "waypoint", "request_protocol": "http", "response_code": "200",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
tests/integration/pilot/tunneling_test.go
}, } func TestTunnelingOutboundTraffic(t *testing.T) { framework. NewTest(t). RequireIstioVersion("1.15.0"). Run(func(ctx framework.TestContext) { meshNs := apps.A.NamespaceName() externalNs := apps.External.Namespace.Name() applyForwardProxyConfigMaps(ctx, externalNs) ctx.ConfigIstio().File(externalNs, "testdata/external-forward-proxy-deployment.yaml").ApplyOrFail(ctx)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
_, fp := NewFakeProxier(v1.IPv4Protocol) fp.OnServiceSynced() fp.OnEndpointSlicesSynced() serviceName := "svc1" namespaceName := "ns1" fp.OnServiceAdd(&v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespaceName}, Spec: v1.ServiceSpec{ ClusterIP: "172.30.1.1", Selector: map[string]string{"foo": "bar"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/test/framework/components/echo/common/deployment/echos.go
found = true break } } if !found { return fmt.Errorf("custom echo deployment %s uses unconfigured namespace %s", config.NamespacedName().String(), config.NamespaceName()) } } } if len(c.Namespaces) > 0 { c.NamespaceCount = len(c.Namespaces) } else if c.NamespaceCount <= 0 { c.NamespaceCount = 1 } nsLabels := map[string]string{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 20 16:01:31 UTC 2024 - 16K bytes - Viewed (0)