Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Segijn (0.29 sec)

  1. cmd/signature-v4_test.go

    	now := UTCNow()
    	credentialTemplate := "%s/%s/%s/s3/aws4_request"
    
    	region := globalSite.Region
    	accessKeyID := globalActiveCred.AccessKey
    	testCases := []struct {
    		queryParams map[string]string
    		headers     map[string]string
    		region      string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			region:   globalMinioDefaultRegion,
    			expected: ErrInvalidQueryParams,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  2. internal/event/arn.go

    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:sqs:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // MarshalXML - encodes to XML data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  3. internal/event/targetid_test.go

    	tid := TargetID{"1", "webhook"}
    	testCases := []struct {
    		tid         TargetID
    		region      string
    		expectedARN ARN
    	}{
    		{tid, "", ARN{TargetID: tid, region: ""}},
    		{tid, "us-east-1", ARN{TargetID: tid, region: "us-east-1"}},
    	}
    
    	for i, testCase := range testCases {
    		arn := testCase.tid.ToARN(testCase.region)
    
    		if arn != testCase.expectedARN {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  4. internal/config/constants.go

    	EnvUpdate = "MINIO_UPDATE"
    
    	EnvEndpoints  = "MINIO_ENDPOINTS"   // legacy
    	EnvWorm       = "MINIO_WORM"        // legacy
    	EnvRegion     = "MINIO_REGION"      // legacy
    	EnvRegionName = "MINIO_REGION_NAME" // legacy
    
    )
    
    // Expiration Token durations
    // These values are used to validate the expiration time range from
    // either the exp claim or MINI_STS_DURATION value
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  5. tests/tracer_test.go

    }
    
    func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) {
    	S.Logger.Error(ctx, s, i...)
    }
    
    func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    	S.Logger.Trace(ctx, begin, fc, err)
    	S.Test(ctx, begin, fc, err)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 18 09:28:06 GMT 2022
    - 830 bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    	query := req.URL.Query()
    	query.Set("X-Amz-Algorithm", signV4Algorithm)
    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)
  7. internal/config/help.go

    		if hkv.Key == key {
    			return hkv, true
    		}
    	}
    	return HelpKV{}, false
    }
    
    // DefaultComment used across all sub-systems.
    const DefaultComment = "optionally add a comment to this setting"
    
    // Region help is documented in default config
    var (
    	SiteHelp = HelpKVS{
    		HelpKV{
    			Key:         NameKey,
    			Type:        "string",
    			Description: `name for the site e.g. "cal-rack0"`,
    			Optional:    true,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. internal/logger/reqinfo.go

    	VersionID    string           `json:",omitempty"` // corresponding versionID for the object
    	Objects      []ObjectVersion  `json:",omitempty"` // Only set during MultiObject delete handler.
    	Cred         auth.Credentials `json:"-"`
    	Region       string           `json:"-"`
    	Owner        bool             `json:"-"`
    	AuthType     string           `json:"-"`
    	tags         []KeyVal         // Any additional info not accommodated by above fields
    	sync.RWMutex
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/godefs.go

    	// Any names still using the _C syntax are not going to compile,
    	// although in general we don't know whether they all made it
    	// into the file, so we can't warn here.
    	//
    	// The most common case is union types, which begin with
    	// _Ctype_union and for which typedef[name] is a Go byte
    	// array of the appropriate size (such as [4]byte).
    	// Substitute those union types with byte arrays.
    	for name, id := range goIdent {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. cmd/speedtest.go

    				if localDiskCount < concurrency {
    					concurrency = localDiskCount
    				}
    			}
    
    			// Any concurrency less than '4' just stick to '4' concurrent
    			// operations for now to begin with.
    			if concurrency < 4 {
    				concurrency = 4
    			}
    
    			// if GOMAXPROCS is set to a lower value then choose to use
    			// concurrency == GOMAXPROCS instead.
    			if runtime.GOMAXPROCS(0) < concurrency {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top