Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for RANGE (0.29 sec)

  1. cni/pkg/nodeagent/podcgroupns_test.go

    func TestGetContainerIDFromCGroups(t *testing.T) {
    	makeCGroups := func(groupPaths []string) []Cgroup {
    		var out []Cgroup
    		for _, groupPath := range groupPaths {
    			out = append(out, Cgroup{
    				GroupPath: groupPath,
    			})
    		}
    		return out
    	}
    
    	//nolint: lll
    	for _, tt := range []struct {
    		name              string
    		cgroupPaths       []string
    		expectPodUID      types.UID
    		expectContainerID string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint_test.go

    			},
    			expectedOutFile: "combined-gateway",
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				Namespace: "default",
    			})
    			client, err := ctx.CLIClient()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			for _, gw := range tt.gateways {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/comparator.go

    	location      string
    }
    
    // NewComparator is a comparator constructor
    func NewComparator(w io.Writer, istiodResponses map[string][]byte, envoyResponse []byte) (*Comparator, error) {
    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    		istiodDump := &configdump.Wrapper{}
    		err := json.Unmarshal(resp, istiodDump)
    		if err != nil {
    			continue
    		}
    		c.istiod = istiodDump
    		break
    	}
    	if c.istiod == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  4. manifests/charts/gateways/istio-ingress/templates/injected-deployment.yaml

              {{- end }}
              {{- range $key, $val := $gateway.env }}
              - name: {{ $key }}
                value: {{ $val | quote }}
              {{- end }}
              volumeMounts:
              {{- range $gateway.secretVolumes }}
              - name: {{ .name }}
                mountPath: {{ .mountPath | quote }}
                readOnly: true
              {{- end }}
              {{- range $gateway.configVolumes }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. manifests/charts/gateways/istio-egress/templates/injected-deployment.yaml

              {{- end }}
              {{- range $key, $val := $gateway.env }}
              - name: {{ $key }}
                value: {{ $val | quote }}
              {{- end }}
              volumeMounts:
              {{- range $gateway.secretVolumes }}
              - name: {{ .name }}
                mountPath: {{ .mountPath | quote }}
                readOnly: true
              {{- end }}
              {{- range $gateway.configVolumes }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/status_test.go

    					},
    				}),
    			},
    			want: "testdata/multiXdsStatusSinglePilot.txt",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := &bytes.Buffer{}
    			sw := XdsStatusWriter{Writer: got}
    			input := map[string]*discovery.DiscoveryResponse{}
    			for key, ss := range tt.input {
    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/templates/serviceaccount.yaml

    {{- if .Values.global.configCluster }}
    apiVersion: v1
    kind: ServiceAccount
      {{- if .Values.global.imagePullSecrets }}
    imagePullSecrets:
      {{- range .Values.global.imagePullSecrets }}
      - name: {{ . }}
      {{- end }}
      {{- end }}
    metadata:
      name: istiod{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}
      namespace: {{ .Values.global.istioNamespace }}
      labels:
        app: istiod
        release: {{ .Release.Name }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 05:34:19 GMT 2024
    - 593 bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

            {{- end }}
            {{- with (valueOrDefault .MeshConfig.TrustDomain .Values.global.trustDomain)  }}
            - name: TRUST_DOMAIN
              value: "{{ . }}"
            {{- end }}
            {{- range $key, $value := .ProxyConfig.ProxyMetadata }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
            {{- with (index .InfrastructureLabels "topology.istio.io/network") }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 15:10:43 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  9. istioctl/pkg/authz/analyzer_test.go

    					Configs: []*anypb.Any{
    						{
    							TypeUrl: "type.googleapis.com/envoy.admin.v3.ListenersConfigDump",
    						},
    					},
    				},
    			},
    			wantErr: nil,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil {
    				t.Errorf("Wanted %v, got %v", tt.wantErr, wanted2)
    			}
    		})
    	}
    }
    
    func TestPrint(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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 }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 750 bytes
    - Viewed (0)
Back to top