Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 6,082 for naMespace (0.19 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_config.cc

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    CppConfig::CppConfig(const string &category, const string &name_space)
        : category(category),
          unit(str_util::Lowercase(category)),
          namespaces(absl::StrSplit(name_space, "::")) {}
    
    }  // namespace cpp
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. plugin/pkg/admission/podnodeselector/admission.go

    }
    
    func (p *Plugin) defaultGetNamespace(name string) (*corev1.Namespace, error) {
    	namespace, err := p.client.CoreV1().Namespaces().Get(context.TODO(), name, metav1.GetOptions{})
    	if err != nil {
    		return nil, fmt.Errorf("namespace %s does not exist", name)
    	}
    	return namespace, nil
    }
    
    func (p *Plugin) getNodeSelectorMap(namespace *corev1.Namespace) (labels.Set, error) {
    	selector := labels.Set{}
    	var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    	}
    	if getCalls != 0 {
    		t.Errorf("Expected no live lookups of the namespace, got %d", getCalls)
    	}
    	getCalls = 0
    
    	// verify delete of namespace can proceed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. tests/integration/security/main_test.go

    `
    		})).
    		// Create namespaces first. This way, echo can correctly configure egress to all namespaces.
    		SetupParallel(
    			namespace.Setup(&echo1NS, namespace.Config{Prefix: "echo1", Inject: true}),
    			namespace.Setup(&echo2NS, namespace.Config{Prefix: "echo2", Inject: true}),
    			namespace.Setup(&externalNS, namespace.Config{Prefix: "external", Inject: false}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. pkg/registry/core/namespace/strategy_test.go

    	}
    	Strategy.PrepareForCreate(ctx, namespace)
    	if namespace.Status.Phase != api.NamespaceActive {
    		t.Errorf("Namespaces do not allow setting phase on create")
    	}
    	if len(namespace.Spec.Finalizers) != 1 || namespace.Spec.Finalizers[0] != api.FinalizerKubernetes {
    		t.Errorf("Prepare For Create should have added kubernetes finalizer")
    	}
    	errs := Strategy.Validate(ctx, namespace)
    	if len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 08:51:17 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_config.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    struct CppConfig {
      string category;
      string unit;
      std::vector<string> namespaces;
    
      explicit CppConfig() = default;
      explicit CppConfig(const string &category,
                         const string &name_space = "tensorflow::ops");
    };
    
    }  // namespace cpp
    }  // namespace generator
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 00:34:05 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml

    metadata:
      name: httpbin-bogus-ns # Invalid: there is one source namespace expr that doesn't match any namespace
      namespace: httpbin
    spec:
      selector:
        matchLabels:
          app: httpbin
          version: v1
      rules:
        - from:
            - source:
                principals: ["cluster.local/ns/default/sa/sleep"]
            - source:
                namespaces:
                  - "prod-*"
                  - "*-test"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 08 14:14:46 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. istioctl/pkg/injector/injector-list.go

    	retval := make([]corev1.Namespace, 0, len(namespaces))
    	seen := sets.String{}
    	for _, webhook := range hook.Webhooks {
    		nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    		if err != nil {
    			return retval
    		}
    
    		for _, namespace := range namespaces {
    			if !seen.Contains(namespace.Name) && nsSelector.Matches(api_pkg_labels.Set(namespace.Labels)) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/multicluster/0-namespaces.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      name: foo
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 110 bytes
    - Viewed (0)
  10. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    	namespaceFinalize := v1.Namespace{}
    	namespaceFinalize.ObjectMeta = namespace.ObjectMeta
    	namespaceFinalize.Spec = namespace.Spec
    	finalizerSet := sets.NewString()
    	for i := range namespace.Spec.Finalizers {
    		if namespace.Spec.Finalizers[i] != d.finalizerToken {
    			finalizerSet.Insert(string(namespace.Spec.Finalizers[i]))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
Back to top