Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 247 for ruleset (0.15 sec)

  1. helm/minio/templates/_helper_create_svcacct.txt

        echo \"Failed attempts: $ATTEMPTS\" ;
        if [ $ATTEMPTS -gt $LIMIT ]; then
          exit 1 ;
        fi ;
        sleep 2 ; # 2 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkSvcacctExists ()
    # Check if the svcacct exists, by using the exit code of `mc admin user svcacct info`
    checkSvcacctExists() {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    			err := z.saveRebalanceStats(GlobalContext, poolIdx, rebalSaveStats)
    			stopFn(err)
    			rebalanceLogIf(GlobalContext, err)
    
    			if quit {
    				return
    			}
    
    			timer.Reset(randSleepFor())
    		}
    	}()
    
    	rebalanceLogEvent(ctx, "Pool %d rebalancing is started", poolIdx+1)
    
    	for {
    		select {
    		case <-ctx.Done():
    			doneCh <- ctx.Err()
    			return
    		default:
    		}
    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. helm-releases/minio-3.5.2.tgz

    STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge)...
    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)
  4. cmd/generic-handlers_test.go

    }
    
    func TestSSETLSHandler(t *testing.T) {
    	defer func(isSSL bool) { globalIsTLS = isSSL }(globalIsTLS) // reset globalIsTLS after test
    
    	var okHandler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    		w.WriteHeader(http.StatusOK)
    	}
    	for i, test := range sseTLSHandlerTests {
    		globalIsTLS = test.IsTLS
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/rule.go

    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    // CloneNonTransition - returns a clone of the object containing non transition rules
    func (r Rule) CloneNonTransition() Rule {
    	return Rule{
    		XMLName:                     r.XMLName,
    		ID:                          r.ID,
    		Status:                      r.Status,
    		Filter:                      r.Filter,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/listen-notification-handlers.go

    	go func() {
    		buf := bytes.NewBuffer(grid.GetByteBuffer()[:0])
    		enc := json.NewEncoder(buf)
    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    			select {
    			case ev := <-localCh:
    				buf.Reset()
    				tmpEvt.Records[0] = ev
    				if err := enc.Encode(tmpEvt); err != nil {
    					bugLogIf(ctx, err, "event: Encode failed")
    					continue
    				}
    				mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. cmd/data-scanner_test.go

    		workers := globalExpiryState.workers.Load()
    		for t := range (*workers)[0] {
    			if t, ok := t.(newerNoncurrentTask); ok {
    				expired = append(expired, t.versions...)
    			}
    		}
    	}()
    	lc := lifecycle.Lifecycle{
    		Rules: []lifecycle.Rule{
    			{
    				ID:     "max-versions",
    				Status: "Enabled",
    				NoncurrentVersionExpiration: lifecycle.NoncurrentVersionExpiration{
    					NewerNoncurrentVersions: 1,
    				},
    			},
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    		t.Fatalf("Corrupted data is found")
    	}
    
    	// Test: Upload a file bigger than the small file threshold
    	// under the same bucket & key name and try to read it again.
    
    	output.Reset()
    	bigData := bytes.Repeat([]byte{'b'}, smallFileThreshold*numberOfDisks/2)
    
    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(bigData), int64(len(bigData)), "", ""), ObjectOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  9. cmd/bootstrap-peer-server.go

    				}
    				if len(incorrectConfigs) > 0 {
    					logger.Info(fmt.Sprintf("Following servers have mismatching configuration %s", incorrectConfigs))
    				}
    				retries = 0 // reset to log again after 20 retries.
    			}
    			offlineEndpoints = nil
    			incorrectConfigs = nil
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. internal/http/server.go

    			}
    			return errors.New("timed out. some connections are still active")
    		case <-timer.C:
    			if atomic.LoadInt32(&srv.requestCount) <= 0 {
    				return nil
    			}
    			timer.Reset(nextPollInterval())
    		}
    	}
    }
    
    // UseShutdownTimeout configure server shutdown timeout
    func (srv *Server) UseShutdownTimeout(d time.Duration) *Server {
    	srv.ShutdownTimeout = d
    	return srv
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top