Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NamespaceName (0.18 sec)

  1. security/pkg/k8s/configutil_test.go

    			existingConfigMap: createConfigMap(namespaceName, configMapName, map[string]string{}),
    			expectedActions: []ktesting.Action{
    				ktesting.NewUpdateAction(gvr, namespaceName, createConfigMap(namespaceName, configMapName, testData)),
    			},
    			expectedErr: "",
    		},
    		{
    			name:              "existing nop ConfigMap",
    			existingConfigMap: createConfigMap(namespaceName, configMapName, testData),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    			var namespace *v1.Namespace
    			namespaceName := a.GetNamespace()
    
    			// Special case, the namespace object has the namespace of itself (maybe a bug).
    			// unset it if the incoming object is a namespace
    			if gvk := a.GetKind(); gvk.Kind == "Namespace" && gvk.Version == "v1" && gvk.Group == "" {
    				namespaceName = ""
    			}
    
    			// if it is cluster scoped, namespaceName will be empty
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/test/framework/components/echo/echotest/run.go

    	t.toEachDeployment(t.rootCtx, func(ctx framework.TestContext, dstInstances echo.Instances) {
    		gwInstance := gatewayInstance{
    			NamespacedName: types.NamespacedName{
    				Namespace: dstInstances.NamespaceName(),
    				Name:      dstInstances.ServiceName() + "-gateway",
    			},
    			GatewayClass: gatewayClass,
    		}
    		// Build and apply per-destination config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. 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)
Back to top