Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for generator (0.15 sec)

  1. cmd/server_test.go

    	var buffer bytes.Buffer
    	// data to be written into buffer.
    	data := "1234567890"
    	// seed the random number generator once.
    	rand.Seed(3)
    	// generate a random number between 13 and 200.
    	randInt := getRandomRange(13, 200, -1)
    	// write into buffer till length of the buffer is greater than the generated random number.
    	for i := 0; i <= randInt; i += 10 {
    		buffer.WriteString(data)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    func (c *minioNodeCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // populateAndPublish populates and then publishes the metrics generated by the generator function.
    func populateAndPublish(metricsGroups []*MetricsGroupV2, publish func(m MetricV2) bool) {
    	for _, mg := range metricsGroups {
    		if mg == nil {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/README.md

    is configured to expose metrics without authentication, you don't need to use `mc` to generate prometheus config. You can skip reading further and move to 3.2 section.
    
    The Prometheus endpoint in MinIO requires authentication by default. Prometheus supports a bearer token approach to authenticate prometheus scrape requests, override the default Prometheus config with the one generated using mc. To generate a Prometheus config for an alias, use [mc](https://min.io/docs/minio/linux/reference...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. Makefile

    	@mkdir -p $(GOPATH)/bin && cp -f $(PWD)/minio $(GOPATH)/bin/minio
    	@echo "Installation successful. To learn more, try \"minio --help\"."
    
    clean: ## cleanup all generated assets
    	@echo "Cleaning up all the generated files"
    	@find . -name '*.test' | xargs rm -fv
    	@find . -name '*~' | xargs rm -fv
    	@find . -name '.#*#' | xargs rm -fv
    	@find . -name '#*#' | xargs rm -fv
    	@rm -rvf minio
    	@rm -rvf build
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  6. cmd/kms-handlers.go

    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    		return
    	}
    
    	// 3. Compare generated key with decrypted key
    	if subtle.ConstantTimeCompare(key.Plaintext, decryptedKey) != 1 {
    		response.DecryptionErr = "The generated and the decrypted data key do not match"
    		resp, err := json.Marshal(response)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. docs/sts/assume-role.go

    	flag.StringVar(&minioUsername, "u", "", "MinIO Username")
    	flag.StringVar(&minioPassword, "p", "", "MinIO Password")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    	flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential")
    	flag.StringVar(&bucketToList, "b", "", "Bucket to list (defaults to username)")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  8. cmd/sts-handlers_test.go

    		}
    
    		value, err := webID.Retrieve()
    		if err != nil && !testCase.expectedErr {
    			c.Fatalf("Test %d: Expected to generate STS creds, got err: %#v", i+1, err)
    		}
    		if err == nil && testCase.expectedErr {
    			c.Fatalf("Test %d: An error is unexpected to generate STS creds, got err: %#v", i+1, err)
    		}
    
    		if err != nil && testCase.expectedErr {
    			continue
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. cmd/bucket-targets.go

    		ResetID:             tcfg.ResetID,
    		Endpoint:            tcfg.Endpoint,
    		Secure:              tcfg.Secure,
    	}
    	return tc, nil
    }
    
    // getRemoteARN gets existing ARN for an endpoint or generates a new one.
    func (sys *BucketTargetSys) getRemoteARN(bucket string, target *madmin.BucketTarget, deplID string) (arn string, exists bool) {
    	if target == nil {
    		return
    	}
    	sys.RLock()
    	defer sys.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. internal/bucket/replication/datatypes.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    //go:generate msgp -file=$GOFILE
    
    // StatusType of Replication for x-amz-replication-status header
    type StatusType string
    
    // Type - replication type enum
    type Type int
    
    const (
    	// Pending - replication is pending.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top