Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 206 for index (0.05 sec)

  1. pkg/ledger/smt_test.go

    	}
    	sort.Sort(dataArray(data))
    	return data
    }
    
    func benchmark10MAccounts10Ktps(smt *smt, b *testing.B) {
    	fmt.Println("\nLoading b.N x 1000 accounts")
    	for index := 0; index < b.N; index++ {
    		newkeys := getFreshData(1000)
    		newvalues := getFreshData(1000)
    		start := time.Now()
    		smt.Update(newkeys, newvalues)
    		end := time.Now()
    		end2 := time.Now()
    		for i, key := range newkeys {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-diff.go

    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    			"List order changes are shown as [OLD-INDEX->NEW-INDEX], with ? used where a list item is added or\n" +
    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    				return fmt.Errorf("diff requires two files or directories")
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    // StatefulSetOrdinals describes the policy used for replica ordinal assignment
    // in this StatefulSet.
    message StatefulSetOrdinals {
      // start is the number representing the first replica's index. It may be used
      // to number replicas from an alternate index (eg: 1-indexed) over the default
      // 0-indexed names, or to orchestrate progressive movement of replicas from
      // one StatefulSet to another.
      // If set, replica indices will be in the range:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-ingress/templates/poddisruptionbudget.yaml

    {{- if .Values.global.defaultPodDisruptionBudget.enabled }}
    {{ $gateway := index .Values "gateways" "istio-ingressgateway" }}
    apiVersion: policy/v1
    kind: PodDisruptionBudget
    metadata:
      name: {{ $gateway.name }}
      namespace: {{ .Release.Namespace }}
      labels:
    {{ $gateway.labels | toYaml | trim | indent 4 }}
        release: {{ .Release.Name }}
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 666 bytes
    - Viewed (0)
  5. manifests/charts/gateways/istio-egress/templates/serviceaccount.yaml

    {{ $gateway := index .Values "gateways" "istio-egressgateway" }}
    apiVersion: v1
    kind: ServiceAccount
    {{- if .Values.global.imagePullSecrets }}
    imagePullSecrets:
    {{- range .Values.global.imagePullSecrets }}
      - name: {{ . }}
    {{- end }}
    {{- end }}
    metadata:
      name: {{ $gateway.name }}-service-account
      namespace: {{ .Release.Namespace }}
      labels:
    {{ $gateway.labels | toYaml | trim | indent 4 }}
        release: {{ .Release.Name }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 750 bytes
    - Viewed (0)
  6. pkg/config/analysis/README.md

    e.g for the GatewayAnalyzer used as an example above, you would add something like this to `find_errorline_utils.go`:
    
    ```go
        // Path for VirtualService gateway.
        // Required parameters: gateway index.
        VSGateway = "{.spec.gateways[%d]}"
    ```
    
    ### 5. Adding unit tests
    
    For each new analyzer, you should add an entry to the test grid in
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. operator/pkg/validate/common.go

    		return false
    	}
    	indexPattern := pattern[strings.IndexByte(pattern, '[')+1 : strings.IndexByte(pattern, ']')]
    	if indexPattern == "*" {
    		return true
    	}
    	index := pn[strings.IndexByte(pn, '[')+1 : strings.IndexByte(pn, ']')]
    	return indexPattern == index
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    			if rev == util.DefaultRevisionName {
    				rev = ""
    			}
    			injectorAddress := centralOpts.Xds
    			index := strings.IndexByte(injectorAddress, ':')
    			if index != -1 {
    				injectorAddress = injectorAddress[:index]
    			}
    			injector, meshConfig, err := setupKubeInjectParameters(cliContext, &sidecarTemplate, &valuesConfig, rev, injectorAddress)
    			if err != nil {
    				return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/match/matchers_test.go

    	// 2 clusters on 2 networks
    	cls1 = &kube.Cluster{Topology: cluster.Topology{
    		ClusterName:        "cls1",
    		Network:            "n1",
    		PrimaryClusterName: "cls1",
    		ConfigClusterName:  "cls1",
    		Index:              0,
    		AllClusters:        allClusters,
    	}}
    
    	// simple pod
    	a1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "a"}
    	// simple pod with different svc
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. istioctl/pkg/authz/listener.go

    		parsedListeners = append(parsedListeners, parsed)
    	}
    	return parsedListeners
    }
    
    func extractName(name string) (string, string) {
    	// parts[1] is the namespace, parts[2] is the policy name, parts[3] is the rule index.
    	parts := re.FindStringSubmatch(name)
    	if len(parts) != 4 {
    		log.Errorf("failed to parse policy name: %s", name)
    		return "", ""
    	}
    	return fmt.Sprintf("%s.%s", parts[2], parts[1]), parts[3]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top