Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 327 for if (0.14 sec)

  1. cmd/data-usage_test.go

    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    			if e == nil {
    				t.Fatal("got nil result")
    			}
    			if w.flatten {
    				*e = got.flatten(*e)
    			}
    			if e.Size != int64(w.size) {
    				t.Error("got size", e.Size, "want", w.size)
    			}
    			if e.Objects != uint64(w.objs) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. cmd/batch-rotate_gen_test.go

    	v := BatchJobKeyRotateEncryption{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 29 18:27:23 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    	var rcfg *replication.Config
    	if bucket != minioMetaBucket {
    		vc, err = globalBucketVersioningSys.Get(bucket)
    		if err != nil {
    			return err
    		}
    
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bucket)
    		if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bucket}) {
    			return err
    		}
    
    		// Check if bucket is object locked.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. helm/minio/templates/statefulset.yaml

            {{- end }}
            {{- if .Values.podAnnotations }}
              {{- toYaml .Values.podAnnotations | nindent 8 }}
            {{- end }}
        spec:
          {{- if .Values.priorityClassName }}
          priorityClassName: "{{ .Values.priorityClassName }}"
          {{- end }}
          {{- if .Values.runtimeClassName }}
          runtimeClassName: "{{ .Values.runtimeClassName }}"
          {{- end }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 07:50:24 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. internal/grid/types.go

    func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) {
    	if b == nil {
    		return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer")
    	}
    	if bytes, err := msgp.ReadNilBytes(bytes); err == nil {
    		if *b != nil {
    			PutByteBuffer(*b)
    		}
    		*b = nil
    		return bytes, nil
    	}
    	val, bytes, err := msgp.ReadBytesZC(bytes)
    	if err != nil {
    		return bytes, err
    	}
    	if cap(*b) >= len(val) {
    		*b = (*b)[:len(val)]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. helm-releases/minio-3.4.4.tgz

    Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 31 04:21:24 GMT 2021
    - 15.2K bytes
    - Viewed (0)
  7. helm-releases/minio-3.6.6.tgz

    Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 17 21:46:44 GMT 2022
    - 18.2K bytes
    - Viewed (0)
  8. helm-releases/minio-3.6.1.tgz

    Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 15 00:13:17 GMT 2022
    - 17.9K bytes
    - Viewed (0)
  9. helm-releases/minio-3.5.2.tgz

    Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 08 00:29:26 GMT 2022
    - 15.4K bytes
    - Viewed (0)
  10. internal/jwt/parser.go

    		if len(key) == 0 {
    			return nil
    		}
    		switch key[0] {
    		case 'a':
    			if string(key) == "accessKey" {
    				if dataType != jsonparser.String {
    					return errors.New("accessKey: Expected string")
    				}
    				c.AccessKey, err = jsonparser.ParseString(value)
    				return err
    			}
    			if string(key) == "aud" {
    				if dataType != jsonparser.String {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
Back to top