Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 206 for index (0.05 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	t.Cleanup(func() {
    		if t.Failed() {
    			idx := idx.(*index)
    			krt.Dump(idx.authorizationPolicies)
    			krt.Dump(idx.workloads.Collection)
    			krt.Dump(idx.services.Collection)
    			krt.Dump(idx.waypoints.Collection)
    		}
    	})
    	a := &ambientTestServer{
    		t:         t,
    		clusterID: clusterID,
    		network:   networkID,
    		index:     idx.(*index),
    		fx:        up,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters_test.go

    			shards.Shards[sk][i] = ep
    		}
    	}
    	// convert to EndpointIndex
    	index := model.NewEndpointIndex(model.NewXdsCache())
    	for shardKey, testEps := range shards.Shards {
    		svc, _ := index.GetOrCreateEndpointShard("example.ns.svc.cluster.local", "ns")
    		svc.Lock()
    		svc.Shards[shardKey] = testEps
    		svc.Unlock()
    	}
    	return index
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. pkg/config/validation/agent/validation_test.go

    			} else {
    				for i := 0; i < len(wantErrors); i++ {
    					if !strings.HasPrefix(err.Errors[i].Error(), wantErrors[i]) {
    						t.Errorf("expected error %q at index %d but found %q", wantErrors[i], i, err.Errors[i])
    					}
    				}
    			}
    		default:
    			t.Errorf("expected a multi error as output")
    		}
    	}
    	if warning == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/echotest/filters_test.go

    		Network:            "n1",
    		PrimaryClusterName: "cls1",
    		ConfigClusterName:  "cls1",
    		Index:              0,
    		AllClusters:        allClusters,
    	}}
    	cls2 = &kube.Cluster{Topology: cluster.Topology{
    		ClusterName:        "cls2",
    		Network:            "n2",
    		PrimaryClusterName: "cls2",
    		ConfigClusterName:  "cls2",
    		Index:              1,
    		AllClusters:        allClusters,
    	}}
    
    	// simple pod
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. tests/fuzz/crd_roundtrip_fuzzer.go

    			err := checkForNil(e.Field(i))
    			if err != nil {
    				return err
    			}
    		}
    	case reflect.Array, reflect.Slice:
    		for i := 0; i < e.Len(); i++ {
    			err := checkForNil(e.Index(i))
    			if err != nil {
    				return err
    			}
    		}
    	case reflect.Map:
    		if e.IsNil() {
    			return fmt.Errorf("field is nil")
    		}
    		for _, k := range e.MapKeys() {
    			if e.IsNil() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. pilot/pkg/networking/grpcgen/grpcgen_test.go

    			if strings.HasPrefix(ll.Name, "echo-persistent.test.svc.cluster.local:") {
    				proto.Unmarshal(ll.ApiListener.ApiListener.Value, hcm)
    				for index, f := range hcm.HttpFilters {
    					if f.Name == util.StatefulSessionFilter {
    						proto.Unmarshal(f.GetTypedConfig().Value, ss)
    						filterIndex = index
    						if ss.GetSessionState().Name == "envoy.http.stateful_session.cookie" {
    							proto.Unmarshal(ss.GetSessionState().TypedConfig.Value, sc)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. operator/pkg/validate/validate.go

    				errs = util.AppendErrs(errs, validateLeaf(validations, nnp, fieldValue.MapIndex(key), checkRequired))
    			}
    		case reflect.Slice:
    			for i := 0; i < fieldValue.Len(); i++ {
    				newValue := fieldValue.Index(i).Interface()
    				newPath := append(path, indexPathForSlice(fieldName, i))
    				if util.IsStruct(newValue) || util.IsPtr(newValue) {
    					errs = util.AppendErrs(errs, Validate(validations, newValue, newPath, checkRequired))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. pkg/istio-agent/health/health_probers.go

    		Timeout:   timeout,
    		Transport: h.Transport,
    	}
    	// transform crd into net http header
    	headers := make(http.Header)
    	for _, val := range h.Config.HttpHeaders {
    		// net.httpHeaders value is a []string but uses only index 0
    		headers[val.Name] = append(headers[val.Name], val.Value)
    	}
    	targetURL, err := url.Parse(h.Config.Path)
    	// Something is busted with the path, but it's too late to reject it. Pass it along as is.
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    // 'f:<name>', where <name> is the name of a field in a struct, or key in a map
    // 'v:<value>', where <value> is the exact json formatted value of a list item
    // 'i:<index>', where <index> is position of a item in a list
    // 'k:<keys>', where <keys> is a map of  a list item's key fields to their unique values
    // If a key maps to an empty Fields value, the field that key represents is part of the set.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. operator/pkg/manifest/shared.go

    			if !ok {
    				return outYAML, nil
    			}
    
    			for index, subPath := range subPaths {
    				if _, ok := originMap[subPath].(map[string]any); !ok {
    					return outYAML, fmt.Errorf("can not convert subPath %s in setFlag path %s",
    						subPath, setFlagConvertPath)
    				}
    
    				if index == len(subPaths)-1 {
    					for key, value := range originMap[subPath].(map[string]any) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top