- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NamespacedName (0.18 sec)
-
tests/integration/ambient/main_test.go
echos = match.Not(match.ServiceName(echo.NamespacedName{Name: cdeployment.ExternalSvc, Namespace: apps.ExternalNamespace})).GetMatches(echos) apps.All = echos apps.WorkloadAddressedWaypoint = match.ServiceName(echo.NamespacedName{Name: WorkloadAddressedWaypoint, Namespace: apps.Namespace}).GetMatches(echos)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 10.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go
return nil, true } namespacedName := strings.Split(labelValue, "/") switch len(namespacedName) { case 1: return &krt.Named{ Name: namespacedName[0], Namespace: defaultNamespace, }, false case 2: return &krt.Named{ Name: namespacedName[1], Namespace: namespacedName[0], }, false default: // malformed label error
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:28 UTC 2024 - 11.1K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
sc.destinationRulesByNames = make(map[types.NamespacedName]*config.Config) for _, c := range configs { c := c sc.destinationRulesByNames[types.NamespacedName{Name: c.Name, Namespace: c.Namespace}] = &c } } func (sc *SidecarScope) DestinationRuleByName(name, namespace string) *config.Config { if sc == nil { return nil } return sc.destinationRulesByNames[types.NamespacedName{ Name: name,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
func PodOnNodeFromDaemonset(node string, name, namespace string, client kube.Client) (types.NamespacedName, error) { ds, err := client.Kube().AppsV1().DaemonSets(namespace).Get(context.Background(), name, metav1.GetOptions{}) if err != nil { return types.NamespacedName{}, err } selector := ds.Spec.Selector if selector == nil { return types.NamespacedName{}, fmt.Errorf("selector is required") } sel := selector.MatchLabels
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 22K bytes - Viewed (0) -
pilot/pkg/model/telemetry_test.go
actual := getInterval(tc.input, tc.defaultVal) assert.Equal(t, tc.expected, actual) }) } } func Test_appendApplicableTelemetries(t *testing.T) { namespacedName := types.NamespacedName{ Name: "my-telemetry", Namespace: "my-namespace", } emptyStackDriverTracing := &tpb.Tracing{ Match: &tpb.Tracing_TracingSelector{ Mode: tpb.WorkloadMode_CLIENT, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 39.6K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters_test.go
func (f fakeInstance) Instances() echo.Instances { return echo.Instances{f} } func (f fakeInstance) ID() resource.ID { panic("implement me") } func (f fakeInstance) NamespacedName() echo.NamespacedName { return f.Config().NamespacedName() } func (f fakeInstance) PortForName(name string) echo.Port { return f.Config().Ports.MustForName(name) } func (f fakeInstance) Config() echo.Config {
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/test/framework/components/istio/kube.go
ingressServiceLabel = fmt.Sprintf("istio=%s", serviceLabelOverride) } name := types.NamespacedName{Name: ingressServiceName, Namespace: ingressServiceNamespace} return i.CustomIngressFor(c, name, ingressServiceLabel) } func (i *istioImpl) EastWestGatewayFor(c cluster.Cluster) ingress.Instance { name := types.NamespacedName{Name: eastWestIngressServiceName, Namespace: i.cfg.SystemNamespace}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 31.1K bytes - Viewed (0) -
pkg/kube/util.go
func GetDeployMetaFromPod(pod *corev1.Pod) (types.NamespacedName, metav1.TypeMeta) { if pod == nil { return types.NamespacedName{}, metav1.TypeMeta{} } // try to capture more useful namespace/name info for deployments, etc. // TODO(dougreid): expand to enable lookup of OWNERs recursively a la kubernetesenv deployMeta := types.NamespacedName{Name: pod.Name, Namespace: pod.Namespace}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
tests/integration/pilot/gateway_test.go
host: "foo.example.com", }, } testCases = append(testCases, additionalTestCases...) } for _, tc := range testCases { t.NewSubTest(fmt.Sprintf("gateway-connectivity-from-%s", tc.from[0].NamespacedName())).Run(func(t framework.TestContext) { tc.from[0].CallOrFail(t, echo.CallOptions{ Port: echo.Port{ Protocol: protocol.HTTP, ServicePort: 80, }, Scheme: scheme.HTTP,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.7K bytes - Viewed (0)