- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 209 for index (0.04 sec)
-
pilot/pkg/model/config.go
i := strings.Index(gwname, ".") fqdn := strings.Index(gwname[i+1:], ".") if fqdn == -1 { out = gwname[i+1:] + "/" + gwname[:i] } else { out = gwname[i+1:i+1+fqdn] + "/" + gwname[:i] } } } else { // remove the . from ./gateway and substitute it with the namespace name i := strings.Index(gwname, "/") if gwname[:i] == "." {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 08:51:03 UTC 2024 - 13.1K bytes - Viewed (0) -
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) -
pkg/kube/kclient/clienttest/direct.go
}) if err != nil { d.t.Fatalf("list: %v", err) } items := reflect.ValueOf(res).Elem().FieldByName("Items") ret := make([]T, 0, items.Len()) for i := 0; i < items.Len(); i++ { itm := items.Index(i).Interface().(PT) ret = append(ret, any(&itm).(T)) } return ret } var _ kclient.ReadWriter[controllers.Object] = &directClient[controllers.Object, any, controllers.Object]{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
operator/pkg/validate/common.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 11K bytes - Viewed (0) -
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)