Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for val2 (0.55 sec)

  1. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ## Add ILM rules
    ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER --transition-days 0 --noncurrent-expire-days 2 --expire-days 3 --prefix "myprefix" --tags "tag1=val1&tag2=val2"
    ./mc ilm rule list sitea/bucket
    
    ## Check ilm expiry flag
    ./mc admin replicate info sitea --json
    flag1=$(./mc admin replicate info sitea --json | jq '.sites[0]."replicate-ilm-expiry"')
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. internal/grid/types.go

    func (j *Array[T]) Set(val []T) {
    	j.val = val
    }
    
    // Recycle the underlying value.
    func (j *Array[T]) Recycle() {
    	if j.val != nil {
    		j.p.putA(j.val)
    		j.val = nil
    	}
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (j *Array[T]) MarshalMsg(b []byte) (o []byte, err error) {
    	if j.val == nil {
    		return msgp.AppendNil(b), nil
    	}
    	if uint64(len(j.val)) > math.MaxUint32 {
    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)
  3. docs/debugging/xl-meta/main.go

    		}
    		s := fmt.Sprintf(`"%s": {"bytes": %d`, string(key), len(val))
    		// Check bitrot... We should only ever have one block...
    		if len(val) >= 32 {
    			want := val[:32]
    			data := val[32:]
    			const magicHighwayHash256Key = "\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0"
    
    			hh, _ := highwayhash.New([]byte(magicHighwayHash256Key))
    			hh.Write(data)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  4. internal/hash/checksum.go

    	if err != nil || c == nil {
    		return
    	}
    	t, s := c.Type, c.Encoded
    	if !c.Type.IsSet() {
    		return
    	}
    	if c.Type.Is(ChecksumTrailing) {
    		val := r.Trailer.Get(t.Key())
    		if val != "" {
    			w.Header().Set(t.Key(), val)
    		}
    		return
    	}
    	w.Header().Set(t.Key(), s)
    }
    
    // AddChecksumHeader will transfer any checksum value that has been checked.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. helm/minio/templates/statefulset.yaml

                - name: MINIO_IDENTITY_OPENID_DISPLAY_NAME
                  value: {{ .Values.oidc.displayName }}
                {{- end }}
                {{- range $key, $val := .Values.environment }}
                - name: {{ $key }}
                  value: {{ tpl $val $ | quote }}
                {{- end }}
              resources: {{- toYaml .Values.resources | nindent 12 }}
    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)
  6. cmd/object-multipart-handlers.go

    			"X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    			"X-Minio-Replication-Server-Side-Encryption-Iv",
    		}
    		ssecRep := false
    		for _, header := range ssecRepHeaders {
    			if val := r.Header.Get(header); val != "" {
    				ssecRep = true
    				break
    			}
    		}
    		if !(ssecRep && sourceReplReq) {
    			if err = setEncryptionMetadata(r, bucket, object, encMetadata); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  7. cmd/common-main.go

    	}
    
    	key := envTokens[0]
    	val := envTokens[1]
    
    	// Remove quotes from the value if found
    	if len(val) >= 2 {
    		quote := val[0]
    		if (quote == '"' || quote == '\'') && val[len(val)-1] == quote {
    			val = val[1 : len(val)-1]
    		}
    	}
    
    	return envKV{
    		Key:   key,
    		Value: val,
    	}, nil
    }
    
    // Similar to os.Environ returns a copy of strings representing
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  8. cmd/batch-expire.go

    // UnmarshalYAML - BatchJobExpirePurge extends unmarshal to extract line, col
    func (p *BatchJobExpirePurge) UnmarshalYAML(val *yaml.Node) error {
    	type purge BatchJobExpirePurge
    	var tmp purge
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*p = BatchJobExpirePurge(tmp)
    	p.line, p.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns nil if value is valid, ie > 0.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. cmd/metrics-resource.go

    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    	metric.Count++
    
    	metric.Avg = metric.Sum / float64(metric.Count)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  10. internal/grid/handlers.go

    func GetCaller(ctx context.Context) *RemoteClient {
    	val, _ := ctx.Value(ctxCallerKey{}).(*RemoteClient)
    	return val
    }
    
    // GetSubroute returns caller information from contexts provided to handlers.
    func GetSubroute(ctx context.Context) string {
    	val, _ := ctx.Value(ctxSubrouteKey{}).(string)
    	return val
    }
    
    func setCaller(ctx context.Context, cl *RemoteClient) context.Context {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top