Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 5,965 for nameslice (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    	}
    	return utilerrors.NewAggregate(errs)
    }
    
    // GetNamespaceLabels gets the labels of the namespace related to the attr.
    func (m *Matcher) GetNamespaceLabels(attr admission.Attributes) (map[string]string, error) {
    	// If the request itself is creating or updating a namespace, then get the
    	// labels from attr.Object, because namespaceLister doesn't have the latest
    	// namespace yet.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/integration/graph_decompose_pass.cc

    #include "tensorflow/core/lib/monitoring/counter.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace {
    
    auto* tf_core_op_expansion_graph_counter =
        monitoring::Counter<0>::New("/tensorflow/core/op_expansion/graph_counter",
                                    "The number of graphs being op expanded.");
    }  // namespace
    
    namespace tfr {
    
    MlirOptimizationPassState GraphDecomposePass::GetPassState(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. pkg/test/util/yml/apply_test.go

    		name      string
    		yml       string
    		namespace string
    		expected  string
    	}{
    		{
    			"no namespace",
    			`metadata:
      name: foo`,
    			"default",
    			`metadata:
      name: foo
      namespace: default`,
    		},
    		{
    			"empty namespace",
    			`metadata:
      name: foo
      namespace: ""`,
    			"default",
    			`metadata:
      name: foo
      namespace: default`,
    		},
    		{
    			"existing namespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 03 21:37:39 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/match/matchers_test.go

    	a1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "a"}
    	// simple pod with different svc
    	b1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "b"}
    	// virtual machine
    	vm1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "vm", DeployAsVM: true}
    	// headless
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. tests/integration/pilot/analyze_test.go

    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			g := NewWithT(t)
    
    			ns1 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-1",
    				Inject: true,
    			})
    			ns2 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-2",
    				Inject: true,
    			})
    
    			applyFileOrFail(t, ns1.Name(), gatewayFile)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/events_test.go

    					Name:      "test1",
    					Namespace: "foo",
    				},
    				InvolvedObject: core.ObjectReference{
    					Namespace: "bar",
    					Kind:      "Pod",
    				},
    			},
    			false,
    		}, {
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test2",
    					Namespace: "aoeu-_-aoeu",
    				},
    				InvolvedObject: core.ObjectReference{
    					Namespace: "aoeu-_-aoeu",
    					Kind:      "Pod",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/NamespaceBuilderTest.groovy

            expect:
            NamespaceBuilder.toNamespace(value) == namespace
    
            where:
            value      | namespace
            "123"      | ""
            "1thing"   | "thing"
            "1a 2b 3c" | "a_b_c"
        }
    
        def "maps separator chars"() {
            expect:
            NamespaceBuilder.toNamespace(value) == namespace
    
            where:
            value      | namespace
            ":"        | ""
            "  "       | ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/conversion_test.go

        namespace: istio-system
      to:
      - group: ""
        kind: Secret
    `,
    			expectations: []res{
    				// allow cross namespace
    				{"kubernetes-gateway://default/wildcard-example-com-cert", "istio-system", true},
    				// denied same namespace. We do not implicitly allow (in this code - higher level code does)
    				{"kubernetes-gateway://default/wildcard-example-com-cert", "default", false},
    				// denied namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  9. pkg/kube/krt/join_test.go

    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, se.Name, pod2.Namespace, pod2.Status.PodIP},
    		{pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP},
    	})
    }
    
    func TestCollectionJoinSync(t *testing.T) {
    	c := kube.NewFakeClient(&corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "name",
    			Namespace: "namespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/cpp/renderers/namespace_renderer.cc

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    NamespaceRenderer::NamespaceRenderer(RendererContext context)
        : Renderer(context) {}
    
    void NamespaceRenderer::Open() {
      for (const string& ns : context_.cpp_config.namespaces) {
        CodeLine("namespace " + ns + " {");
      }
    }
    
    void NamespaceRenderer::Close() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top