Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for Segijn (0.16 sec)

  1. internal/event/config.go

    }
    
    // Validate - checks whether queue has valid values or not.
    func (q Queue) Validate(region string, targetList *TargetList) error {
    	if q.ARN.region == "" {
    		if !targetList.Exists(q.ARN.TargetID) {
    			return &ErrARNNotFound{q.ARN}
    		}
    		return nil
    	}
    
    	if region != "" && q.ARN.region != region {
    		return &ErrUnknownRegion{q.ARN.region}
    	}
    
    	if !targetList.Exists(q.ARN.TargetID) {
    		return &ErrARNNotFound{q.ARN}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser.go

    	}
    
    	cred.scope.region = credElements[1]
    	// Verify if region is valid.
    	sRegion := cred.scope.region
    	// Region is set to be empty, we use whatever was sent by the
    	// request and proceed further. This is a work-around to address
    	// an important problem for ListBuckets() getting signed with
    	// different regions.
    	if region == "" {
    		region = sRegion
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    	}
    
    	cred, _, errCode = checkKeyValid(r, signV4Values.Credential.accessKey)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	// Verify if region is valid.
    	region = signV4Values.Credential.scope.region
    
    	// Extract date, if not present throw error.
    	var dateStr string
    	if dateStr = req.Header.Get("x-amz-date"); dateStr == "" {
    		if dateStr = r.Header.Get("Date"); dateStr == "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    	if r == nil {
    		return nil
    	}
    
    	region := globalSite.Region
    	cred := getReqAccessCred(r, region)
    
    	principalID := cred.AccessKey
    	if cred.ParentUser != "" {
    		principalID = cred.ParentUser
    	}
    
    	// Success.
    	m := map[string]string{
    		"region":          region,
    		"principalId":     principalID,
    		"sourceIPAddress": handlers.GetSourceIP(r),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  5. docs/metrics/healthcheck/README.md

    ```
    curl http://minio1:9001/minio/health/cluster
    HTTP/1.1 503 Service Unavailable
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    X-Minio-Write-Quorum: 3
    X-Amz-Request-Id: 16239D6AB80EBECF
    X-Xss-Protection: 1; mode=block
    Date: Tue, 21 Jul 2020 00:36:14 GMT
    ```
    
    ### Cluster-readable probe
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jul 06 16:18:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	t := UTCNow()
    	region := "us-east-1"
    	policy := buildGenericPolicy(t, accessKey, region, bucketName, objectName, true)
    	return newPostRequestV4Generic(endPoint, bucketName, objectName, objData, accessKey, secretKey, region, t, policy, nil, false, false, false)
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region)
    	case "AuthorizationHeaderMalformed":
    		err.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region)
    	}
    
    	// Similar check to http.checkWriteHeaderCode
    	if err.HTTPStatusCode < 100 || err.HTTPStatusCode > 999 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. cmd/auth-handler_test.go

    		{mustNewSignedRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrNone},
    	}
    
    	// Validates all testcases.
    	for i, testCase := range testCases {
    		s3Error := isReqAuthenticated(ctx, testCase.req, globalSite.Region, serviceS3)
    		if s3Error != testCase.s3Error {
    			if _, err := io.ReadAll(testCase.req.Body); toAPIErrorCode(ctx, err) != testCase.s3Error {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. cmd/config-current.go

    			if err != nil {
    				return err
    			}
    			etcdClnt.Close()
    		}
    	case config.IdentityOpenIDSubSys:
    		if _, err := openid.LookupConfig(s,
    			NewHTTPTransport(), xhttp.DrainBody, globalSite.Region); err != nil {
    			return err
    		}
    	case config.IdentityLDAPSubSys:
    		cfg, err := xldap.Lookup(s, globalRootCAs)
    		if err != nil {
    			return err
    		}
    		if cfg.Enabled() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  10. cmd/common-main.go

    	} else if valueSession := env.Get(config.EnvBrowserSessionDuration, ""); valueSession != "" {
    		os.Setenv("CONSOLE_STS_DURATION", valueSession)
    	}
    
    	os.Setenv("CONSOLE_MINIO_REGION", globalSite.Region)
    	os.Setenv("CONSOLE_CERT_PASSWD", env.Get("MINIO_CERT_PASSWD", ""))
    
    	// This section sets Browser (console) stored config
    	if valueSCP := globalBrowserConfig.GetCSPolicy(); valueSCP != "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
Back to top