Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pilot/pkg/model/push_context.go

    		ps.gatewayIndex.namespace = make(map[string][]config.Config)
    		for _, gatewayConfig := range gatewayConfigs {
    			if _, exists := ps.gatewayIndex.namespace[gatewayConfig.Namespace]; !exists {
    				ps.gatewayIndex.namespace[gatewayConfig.Namespace] = make([]config.Config, 0)
    			}
    			ps.gatewayIndex.namespace[gatewayConfig.Namespace] = append(ps.gatewayIndex.namespace[gatewayConfig.Namespace], gatewayConfig)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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. istioctl/pkg/cli/context_test.go

    	ns := handleNamespace("test", "default")
    	if ns != "test" {
    		t.Fatalf("Get the incorrect namespace: %q back", ns)
    	}
    
    	tests := []struct {
    		description      string
    		namespace        string
    		defaultNamespace string
    		wantNamespace    string
    	}{
    		{
    			description:      "return test namespace",
    			namespace:        "test",
    			defaultNamespace: "default",
    			wantNamespace:    "test",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/kube/namespace/filter.go

    	})
    
    	namespaces.AddEventHandler(controllers.EventHandler[*corev1.Namespace]{
    		AddFunc: func(ns *corev1.Namespace) {
    			f.lock.Lock()
    			defer f.lock.Unlock()
    			// In rare cases, a namespace may be created after objects in the namespace, because there is no synchronization between watches
    			// So we need to notify if we started selecting namespace
    			if f.namespaceCreatedLocked(ns.ObjectMeta) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. pkg/controller/history/controller_history_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	ss1Rev1.Namespace = ss1.Namespace
    	ss1Rev2, err := NewControllerRevision(ss1, parentKind, ss1.Spec.Template.Labels, rawTemplate(&ss1.Spec.Template), 2, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	ss1Rev2.Namespace = ss1.Namespace
    	ss2Rev1, err := NewControllerRevision(ss2, parentKind, ss2.Spec.Template.Labels, rawTemplate(&ss2.Spec.Template), 1, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  10. pkg/kubelet/userns/userns_manager.go

    	lock sync.Mutex
    }
    
    // UserNamespace holds the configuration for the user namespace.
    type userNamespace struct {
    	// UIDs mappings for the user namespace.
    	UIDMappings []idMapping `json:"uidMappings"`
    	// GIDs mappings for the user namespace.
    	GIDMappings []idMapping `json:"gidMappings"`
    }
    
    // Pod user namespace mapping
    type idMapping struct {
    	// Required.
    	HostId uint32 `json:"hostId"`
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top