- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 163 for NamespacedName (0.19 sec)
-
pkg/webhooks/webhookpatch_test.go
go queue.Run(test.NewStop(t)) retry.UntilOrFail(t, queue.HasSynced) queue.Add(types.NamespacedName{Name: "success"}) retry.UntilOrFail(t, func() bool { return success.Load() == 1 }) queue.Add(types.NamespacedName{Name: "conflict-success"}) retry.UntilOrFail(t, func() bool { return success.Load() == 2 && retries.Load() == 5 }) queue.Add(types.NamespacedName{Name: "conflict-for-ever"}) retries.Store(1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 09:53:38 UTC 2023 - 8.6K bytes - Viewed (0) -
pilot/pkg/config/kube/ingress/controller.go
// by ingress using port name. namespacedName := config.NamespacedName(curSvc).String() for _, ingress := range c.ingress.List(curSvc.GetNamespace(), klabels.Everything()) { referredSvcSet := extractServicesByPortNameType(ingress) if referredSvcSet.Contains(namespacedName) { c.queue.AddObject(ingress) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 11.9K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier_test.go
svcPort1 := 80 svcNodePort1 := 3001 svcPortName1 := proxy.ServicePortName{ NamespacedName: makeNSN("ns1", "svc1"), Port: "p80", Protocol: v1.ProtocolTCP, } svcIP2 := "10.20.30.42" svcPort2 := 80 svcNodePort2 := 3002 svcPortName2 := proxy.ServicePortName{ NamespacedName: makeNSN("ns1", "svc2"), Port: "p80", Protocol: v1.ProtocolTCP, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 28 14:30:51 UTC 2024 - 30.2K bytes - Viewed (0) -
pilot/pkg/model/authorization.go
Annotations map[string]string `json:"annotations"` Spec *authpb.AuthorizationPolicy `json:"spec"` } func (ap *AuthorizationPolicy) NamespacedName() types.NamespacedName { return types.NamespacedName{Name: ap.Name, Namespace: ap.Namespace} } // AuthorizationPolicies organizes AuthorizationPolicy by namespace. type AuthorizationPolicies struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 4.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/meshconfig.go
if features.SharedMeshConfig != "" { cms = AppendNonNil(cms, krt.FetchOne(ctx, ConfigMaps, krt.FilterObjectName(types.NamespacedName{Name: features.SharedMeshConfig, Namespace: options.SystemNamespace}))) } cms = AppendNonNil(cms, krt.FetchOne(ctx, ConfigMaps, krt.FilterObjectName(types.NamespacedName{Name: cmName, Namespace: options.SystemNamespace}))) for _, c := range cms {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 2.2K bytes - Viewed (0) -
tests/integration/security/external_ca/reachability_test.go
to := apps.EchoNamespace.B fromAndTo := from.Append(to) echotest.New(t, fromAndTo). WithDefaultFilters(1, 1). FromMatch(match.ServiceName(from.NamespacedName())). ToMatch(match.ServiceName(to.NamespacedName())). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { // Verify mTLS works between a and b opts := echo.CallOptions{ To: to, Port: echo.Port{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2K bytes - Viewed (0) -
pkg/proxy/conntrack/cleanup_test.go
tcpPortName := proxy.ServicePortName{ NamespacedName: types.NamespacedName{ Namespace: svc.Namespace, Name: svc.Name, }, Port: svc.Spec.Ports[0].Name, Protocol: svc.Spec.Ports[0].Protocol, } udpPortName := proxy.ServicePortName{ NamespacedName: types.NamespacedName{ Namespace: svc.Namespace, Name: svc.Name, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:09:05 UTC 2024 - 7.6K bytes - Viewed (0) -
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) -
pkg/proxy/types.go
// identifier for a load-balanced service. type ServicePortName struct { types.NamespacedName Port string Protocol v1.Protocol } func (spn ServicePortName) String() string { return fmt.Sprintf("%s%s", spn.NamespacedName.String(), fmtPortName(spn.Port)) } func fmtPortName(in string) string { if in == "" { return "" } return fmt.Sprintf(":%s", in)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 21 14:28:37 UTC 2024 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/accessor.go
return v.Namespace } func (v *validatingAdmissionPolicyBindingAccessor) GetName() string { return v.Name } func (v *validatingAdmissionPolicyBindingAccessor) GetPolicyName() types.NamespacedName { return types.NamespacedName{ Namespace: "", Name: v.Spec.PolicyName, } } func (v *validatingAdmissionPolicyBindingAccessor) GetMatchResources() *v1.MatchResources { return v.Spec.MatchResources }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 2.2K bytes - Viewed (0)