Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 893 for if (0.14 sec)

  1. 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)
  2. 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)
  3. cmd/listen-notification-handlers.go

    			_, err := w.Write(ev)
    			if err != nil {
    				return
    			}
    			if len(mergeCh) == 0 {
    				// Flush if nothing is queued
    				w.(http.Flusher).Flush()
    			}
    			grid.PutByteBuffer(ev)
    		case <-emptyEventTicker:
    			if err := enc.Encode(struct{ Records []event.Event }{}); err != nil {
    				return
    			}
    			w.(http.Flusher).Flush()
    		case <-keepAliveTicker:
    			if _, err := w.Write([]byte(" ")); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. cmd/signature-v4-utils.go

    const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
    
    // skipContentSha256Cksum returns true if caller needs to skip
    // payload checksum, false if not.
    func skipContentSha256Cksum(r *http.Request) bool {
    	var (
    		v  []string
    		ok bool
    	)
    
    	if isRequestPresignedSignatureV4(r) {
    		v, ok = r.Form[xhttp.AmzContentSha256]
    		if !ok {
    			v, ok = r.Header[xhttp.AmzContentSha256]
    		}
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. 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)
  7. internal/event/target/webhook.go

    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    		return errors.New("endpoint empty")
    	}
    	if w.QueueDir != "" {
    		if !filepath.IsAbs(w.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    	if w.ClientCert != "" && w.ClientKey == "" || w.ClientCert == "" && w.ClientKey != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. docs/debugging/s3-check-md5/main.go

    	flag.Parse()
    
    	if endpoint == "" {
    		log.Fatalln("Endpoint is not provided")
    	}
    
    	if accessKey == "" {
    		log.Fatalln("Access key is not provided")
    	}
    
    	if secretKey == "" {
    		log.Fatalln("Secret key is not provided")
    	}
    
    	if bucket == "" && prefix != "" {
    		log.Fatalln("--prefix is specified without --bucket.")
    	}
    
    	var minModTime time.Time
    	if minModTimeStr != "" {
    		var e error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.7.tgz

    exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET ; then if [ ! -z $OBJECTLOCKING ] ; then if [ $OBJECTLOCKING = true ] ; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ] ; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 13 10:37:23 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  10. helm-releases/minio-5.0.5.tgz

    exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET ; then if [ ! -z $OBJECTLOCKING ] ; then if [ $OBJECTLOCKING = true ] ; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ] ; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 03 20:54:02 GMT 2023
    - 20.3K bytes
    - Viewed (0)
Back to top