Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for parameter (0.19 sec)

  1. cmd/metrics-v3-handler.go

    }
    
    // ServeHTTP - implements http.Handler interface.
    //
    // When the `list` query parameter is provided (its value is ignored), the
    // server lists all metrics that could be returned for the requested path.
    //
    // The (repeatable) `buckets` query parameter is a list of bucket names (or it
    // could be a comma separated value) to return metrics with a bucket label.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Description:    "Error parsing the Credential/X-Amz-Credential parameter; incorrect service. This endpoint belongs to \"s3\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidServiceSTS: {
    		Code:           "AuthorizationParametersError",
    		Description:    "Error parsing the Credential parameter; incorrect service. This endpoint belongs to \"sts\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. docs/iam/identity-manager-plugin.go

    			"groups": []string{"databases"},
    		},
    	},
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	token := r.FormValue("token")
    	if token == "" {
    		writeErrorResponse(w, errors.New("token parameter not given"))
    		return
    	}
    
    	rsp, ok := tokens[token]
    	if !ok {
    		w.WriteHeader(http.StatusForbidden)
    		return
    	}
    
    	fmt.Printf("Allowed for token: %s user: %s\n", token, rsp.User)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	}
    	registerAPIRouter(muxRouter)
    	muxRouter.Use(globalMiddlewares...)
    	return muxRouter
    }
    
    // generateTLSCertKey creates valid key/cert with registered DNS or IP address
    // depending on the passed parameter. That way, we can use tls config without
    // passing InsecureSkipVerify flag.  This code is a simplified version of
    // https://golang.org/src/crypto/tls/generate_cert.go
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    	// RoleARN parameter processing: If a role ARN is given in the request, we
    	// use that and validate the authentication request. If not, we assume this
    	// is an STS request for a claim based IDP (if one is present) and set
    	// roleArn = openid.DummyRoleARN.
    	//
    	// Currently, we do not support multiple claim based IDPs, as there is no
    	// defined parameter to disambiguate the intended IDP in this STS request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  6. cmd/consolelogger.go

    	// Enable console logging for remote client.
    	if !sys.HasLogListeners() {
    		logger.AddSystemTarget(GlobalContext, sys)
    	}
    
    	cnt := 0
    	// by default send all console logs in the ring buffer unless node or limit query parameters
    	// are set.
    	var lastN []log.Info
    	if last > defaultLogBufferCount || last <= 0 {
    		last = defaultLogBufferCount
    	}
    
    	lastN = make([]log.Info, last)
    	sys.RLock()
    	sys.logBuf.Do(func(p interface{}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		})
    		return
    	}
    	dsc, err := parseReplicateDecision(ctx, bucket, dobj.ReplicationState.ReplicateDecisionStr)
    	if err != nil {
    		replLogOnceIf(ctx, fmt.Errorf("unable to parse replication decision parameters for bucket: %s, err: %s, decision: %s",
    			bucket, err, dobj.ReplicationState.ReplicateDecisionStr), dobj.ReplicationState.ReplicateDecisionStr)
    		sendEvent(eventArgs{
    			BucketName: bucket,
    			Object: ObjectInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/config-current.go

    		KeysHelp:        help,
    	}, nil
    }
    
    func newServerConfig() config.Config {
    	return config.New()
    }
    
    // newSrvConfig - initialize a new server config, saves env parameters if
    // found, otherwise use default parameters
    func newSrvConfig(objAPI ObjectLayer) error {
    	// Initialize server config.
    	srvCfg := newServerConfig()
    
    	// hold the mutex lock before a new config is assigned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "obj", "obj1", "", 1, resultCases[21], nil, true},
    		{"test-bucket-list-object", "new", "newPrefix0", "", 2, resultCases[22], nil, true},
    		// Testing with maxKeys set to 0 (46-52).
    		// The parameters have to valid.
    		{"test-bucket-list-object", "", "obj1", "", 0, ListObjectsInfo{}, nil, true},
    		{"test-bucket-list-object", "", "obj0", "", 0, ListObjectsInfo{}, nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    	// Handle encryption
    	encMetadata := make(map[string]string)
    	// Encryption parameters not applicable for this object.
    	if _, ok := crypto.IsEncrypted(srcInfo.UserDefined); !ok && crypto.SSECopy.IsRequested(r.Header) {
    		writeErrorResponse(ctx, w, toAPIError(ctx, errInvalidEncryptionParameters), r.URL)
    		return
    	}
    	// Encryption parameters not present for this object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top