Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 5,965 for nameslice (0.5 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/helper.go

    	return m
    }
    
    // Subresource sets the helper to access (<resource>/[ns/<namespace>/]<name>/<subresource>)
    func (m *Helper) WithSubresource(subresource string) *Helper {
    	m.Subresource = subresource
    	return m
    }
    
    func (m *Helper) Get(namespace, name string) (runtime.Object, error) {
    	req := m.RESTClient.Get().
    		NamespaceIfScoped(namespace, m.NamespaceScoped).
    		Resource(m.Resource).
    		Name(name).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 26 03:45:13 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/plugin/use/PluginId.java

        String getId();
    
        /**
         * The namespace of the plugin or {@code null} if the ID contains no {@code .}.
         */
        @Nullable
        String getNamespace();
    
        /**
         * The plugin name without the namespace.
         */
        String getName();
    
        /**
         * Takes this unqualified plugin ID and adds a namespace.
         *
         * @param namespace the namespace to add.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 31 12:25:02 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/benchmark_test.cc

    #include "tensorflow/compiler/aot/benchmark.h"
    
    #include "tensorflow/compiler/aot/test_graph_tfadd.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace tfcompile {
    namespace benchmark {
    namespace {
    
    // There isn't much we can verify in a stable fashion, so we just run the
    // benchmark with max_iters, and ensure we end up with that many iter stats.
    TEST(Benchmark, Benchmark) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 09 20:26:35 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  4. tests/testdata/networking/sidecar-ns-scope/configs.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: default
      namespace: istio-config
    spec:
      host: "*.local"
      trafficPolicy:
        tls:
          mode: ISTIO_MUTUAL
    ---
    # Services and configs in ns1 namespace
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: http1
      namespace: ns1
    spec:
      hosts:
      - http1.ns1.svc.cluster.local
      addresses:
      - 2.1.1.1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 04 17:16:38 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/request/context.go

    // WithNamespace returns a copy of parent in which the namespace value is set
    func WithNamespace(parent context.Context, namespace string) context.Context {
    	return WithValue(parent, namespaceKey, namespace)
    }
    
    // NamespaceFrom returns the value of the namespace key on the ctx
    func NamespaceFrom(ctx context.Context) (string, bool) {
    	namespace, ok := ctx.Value(namespaceKey).(string)
    	return namespace, ok
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 23 14:08:44 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.yaml

        controllerExpandSecretRef:
          name: nameValue
          namespace: namespaceValue
        controllerPublishSecretRef:
          name: nameValue
          namespace: namespaceValue
        driver: driverValue
        fsType: fsTypeValue
        nodeExpandSecretRef:
          name: nameValue
          namespace: namespaceValue
        nodePublishSecretRef:
          name: nameValue
          namespace: namespaceValue
        nodeStageSecretRef:
          name: nameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. plugin/pkg/admission/security/podsecurity/admission_test.go

    	}
    
    	p.InspectFeatureGates(utilfeature.DefaultFeatureGate)
    
    	namespace := "enforce"
    	enforceNamespaceBaselineV1 := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: namespace, Labels: map[string]string{"pod-security.kubernetes.io/enforce": "baseline"}}}
    	enforceNamespaceRestrictedV1 := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: namespace, Labels: map[string]string{"pod-security.kubernetes.io/enforce": "restricted"}}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:47 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  8. pkg/controlplane/reconcilers/endpointsadapter.go

    	}
    }
    
    // Get takes the name and namespace of the Endpoints resource, and returns a
    // corresponding Endpoints object if it exists, and an error if there is any.
    func (adapter *EndpointsAdapter) Get(namespace, name string, getOpts metav1.GetOptions) (*corev1.Endpoints, error) {
    	return adapter.endpointClient.Endpoints(namespace).Get(context.TODO(), name, getOpts)
    }
    
    // Create accepts a namespace and Endpoints object and creates the Endpoints
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  9. tests/integration/security/filebased_tls_origination/main_test.go

    		Setup(func(ctx resource.Context) error {
    			err := setupApps(ctx, namespace.Future(&appNS), namespace.Future(&serviceNS), &customConfig)
    			if err != nil {
    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupTwoNamespaces(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    				namespace.Future(&appNS),
    				namespace.Future(&serviceNS),
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. pkg/client/tests/fake_client_test.go

    	}
    	for _, sa := range saList2.Items {
    		if sa.Namespace != "nsB" {
    			t.Fatalf("Expected namespace %q; got %q", "nsA", sa.Namespace)
    		}
    	}
    
    	pod1, err := tc.CoreV1().Pods("nsA").Get(context.TODO(), "pod-1", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("Pods.Get: %s", err)
    	}
    	if pod1 == nil {
    		t.Fatalf("Expected to find pod nsA/pod-1 but it wasn't found")
    	}
    	if pod1.Namespace != "nsA" || pod1.Name != "pod-1" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 5.6K bytes
    - Viewed (0)
Back to top