Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 199 for subkeys (1.28 sec)

  1. pkg/printers/internalversion/printers.go

    }
    
    // Pass ports=nil for all ports.
    func formatEndpoints(endpoints *api.Endpoints, ports sets.String) string {
    	if len(endpoints.Subsets) == 0 {
    		return "<none>"
    	}
    	list := []string{}
    	max := 3
    	more := false
    	count := 0
    	for i := range endpoints.Subsets {
    		ss := &endpoints.Subsets[i]
    		if len(ss.Ports) == 0 {
    			// It's possible to have headless services with no ports.
    			count += len(ss.Addresses)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation_test.go

    				}},
    			},
    		},
    		"empty subsets": {
    			endpoints: core.Endpoints{
    				ObjectMeta: metav1.ObjectMeta{Name: "mysvc", Namespace: "namespace"},
    			},
    		},
    		"no name required for singleton port": {
    			endpoints: core.Endpoints{
    				ObjectMeta: metav1.ObjectMeta{Name: "mysvc", Namespace: "namespace"},
    				Subsets: []core.EndpointSubset{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    						MaxRetries: 33,
    					},
    					Tcp: &networking.ConnectionPoolSettings_TCPSettings{
    						ConnectTimeout: &durationpb.Duration{Seconds: 33},
    					},
    				},
    			},
    			Subsets: []*networking.Subset{
    				{
    					Name: "subset1",
    				},
    				{
    					Name: "subset2",
    				},
    			},
    		},
    	}
    	destinationRule3 = config.Config{
    		Meta: config.Meta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context.go

    		"pilot_vservice_dup_domain",
    		"Virtual services with dup domains.",
    	)
    
    	// DuplicatedSubsets tracks duplicate subsets that we rejected while merging multiple destination rules for same host
    	DuplicatedSubsets = monitoring.NewGauge(
    		"pilot_destrule_subsets",
    		"Duplicate subsets across destination rules for same host",
    	)
    
    	// totalVirtualServices tracks the total number of virtual service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

            host: "{{.Destination}}"
            subset: v1
    ---
    apiVersion: networking.istio.io/v1beta1
    kind: DestinationRule
    metadata:
      name: route
      namespace:
    spec:
      host: "{{.Destination}}"
      subsets:
      - labels:
          version: v1
        name: v1
      - labels:
          version: v2
        name: v2
    `).ApplyOrFail(t)
    				var exp string
    				for _, w := range dst.WorkloadsOrFail(t) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  6. pkg/config/validation/validation.go

    		v = AppendValidation(v,
    			agent.ValidateWildcardDomain(rule.Host),
    			validateTrafficPolicy(rule.TrafficPolicy))
    
    		subsets := sets.String{}
    		for _, subset := range rule.Subsets {
    			if subset == nil {
    				v = AppendValidation(v, errors.New("subset may not be null"))
    				continue
    			}
    			if subsets.InsertContains(subset.Name) {
    				v = AppendValidation(v, fmt.Errorf("duplicate subset names: %s", subset.Name))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	}
    
    	endpoint := &corev1.Endpoints{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: namespace,
    			Labels:    labels,
    		},
    		Subsets: []corev1.EndpointSubset{{
    			Addresses: eas,
    			Ports:     eps,
    		}},
    	}
    	clienttest.NewWriter[*corev1.Endpoints](t, controller.client).CreateOrUpdate(endpoint)
    
    	// Create endpoint slice as well
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  8. pkg/proxy/iptables/proxier_test.go

    		expectedLocalEndpoints: map[types.NamespacedName]int{
    			makeNSN("ns1", "ep1"): 1,
    		},
    	}, {
    		// Case[2]: no change, multiple subsets
    		name:              "no change, multiple subsets",
    		previousEndpoints: multipleSubsets,
    		currentEndpoints:  multipleSubsets,
    		oldEndpoints: map[proxy.ServicePortName][]endpointExpectation{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
  9. src/crypto/x509/x509.go

    			return e.Value
    		}
    	}
    	return nil
    }
    
    func signaturePublicKeyAlgoMismatchError(expectedPubKeyAlgo PublicKeyAlgorithm, pubKey any) error {
    	return fmt.Errorf("x509: signature algorithm specifies an %s public key, but have public key of type %T", expectedPubKeyAlgo.String(), pubKey)
    }
    
    var x509sha1 = godebug.New("x509sha1")
    
    // checkSignature verifies that signature is a valid signature over signed from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/httproute_test.go

    				},
    				"block_all": {
    					"*": true,
    				},
    			},
    			registryOnly: true,
    		},
    		{
    			name:                  "virtual service hosts with subsets and with existing service",
    			routeName:             "7777",
    			sidecarConfig:         sidecarConfigWithAllowAny,
    			virtualServiceConfigs: []*config.Config{&virtualService7},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
Back to top