Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for maps (0.18 sec)

  1. cmd/object-api-listobjects_test.go

    		}
    	}
    
    	var err error
    	testObjects := []struct {
    		parentBucket string
    		name         string
    		content      string
    		meta         map[string]string
    	}{
    		{testBuckets[0], "Asia-maps.png", "asis-maps", map[string]string{"content-type": "image/png"}},
    		{testBuckets[0], "Asia/India/India-summer-photos-1", "contentstring", nil},
    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)
  2. cmd/handler-utils.go

    func extractMetadataFromReq(ctx context.Context, r *http.Request) (metadata map[string]string, err error) {
    	return extractMetadata(ctx, textproto.MIMEHeader(r.Form), textproto.MIMEHeader(r.Header))
    }
    
    func extractMetadata(ctx context.Context, mimesHeader ...textproto.MIMEHeader) (metadata map[string]string, err error) {
    	metadata = make(map[string]string)
    
    	for _, hdr := range mimesHeader {
    		// Extract all query values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  3. cmd/iam.go

    	// List of unique LDAP (parent) user DNs that have active creds
    	var parentUsers []string
    	// Map of LDAP user to list of active credential objects
    	parentUserToCredsMap := make(map[string][]auth.Credentials)
    	// DN to ldap username mapping for each LDAP user
    	parentUserToLDAPUsernameMap := make(map[string]string)
    	for _, cred := range allCreds {
    		// Expired credentials don't need parent user updates.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. internal/crypto/metadata_test.go

    var isMultipartTests = []struct {
    	Metadata  map[string]string
    	Multipart bool
    }{
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: ""}},                          // 0
    	{Multipart: true, Metadata: map[string]string{"X-Minio-Internal-Encrypted-Multipart": ""}}, // 1
    	{Multipart: true, Metadata: map[string]string{MetaMultipart: "some-value"}},                // 2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    type MetricV2 struct {
    	Description          MetricDescription `json:"Description"`
    	StaticLabels         map[string]string `json:"StaticLabels"`
    	Value                float64           `json:"Value"`
    	VariableLabels       map[string]string `json:"VariableLabels"`
    	HistogramBucketLabel string            `json:"HistogramBucketLabel"`
    	Histogram            map[string]uint64 `json:"Histogram"`
    }
    
    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)
  6. cmd/signature-v2_test.go

    		secretKey = globalActiveCred.SecretKey
    	)
    	testCases := []struct {
    		queryParams map[string]string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  7. internal/grid/types.go

    func NewMSS() *MSS {
    	m := MSS(mssPool.Get().(map[string]string))
    	for k := range m {
    		delete(m, k)
    	}
    	return &m
    }
    
    // NewMSSWith returns a new MSS with the given map.
    func NewMSSWith(m map[string]string) *MSS {
    	m2 := MSS(m)
    	return &m2
    }
    
    var mssPool = sync.Pool{
    	New: func() interface{} {
    		return make(map[string]string, 5)
    	},
    }
    
    // Recycle the underlying map.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. cmd/bucket-targets.go

    	sys := &BucketTargetSys{
    		arnRemotesMap: make(map[string]arnTarget),
    		targetsMap:    make(map[string][]madmin.BucketTarget),
    		arnErrsMap:    make(map[string]arnErrs),
    		hc:            make(map[string]epHealth),
    		hcClient:      newHCClient(),
    	}
    	// reload healthCheck endpoints map periodically to remove stale endpoints from the map.
    	go func() {
    		rTimer := time.NewTimer(defaultHealthCheckReloadDuration)
    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)
  9. cmd/encryption-v1_test.go

    )
    
    var encryptRequestTests = []struct {
    	header   map[string]string
    	metadata map[string]string
    }{
    	{
    		header: map[string]string{
    			xhttp.AmzServerSideEncryptionCustomerAlgorithm: "AES256",
    			xhttp.AmzServerSideEncryptionCustomerKey:       "XAm0dRrJsEsyPb1UuFNezv1bl9hxuYsgUVC/MUctE2k=",
    			xhttp.AmzServerSideEncryptionCustomerKeyMD5:    "bY4wkxQejw9mUJfo72k53A==",
    		},
    		metadata: map[string]string{},
    	},
    	{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  10. internal/config/identity/openid/openid.go

    	}
    	return v
    }()
    
    // Config - OpenID Config
    type Config struct {
    	Enabled bool
    
    	// map of roleARN to providerCfg's
    	arnProviderCfgsMap map[arn.ARN]*providerCfg
    
    	// map of config names to providerCfg's
    	ProviderCfgs map[string]*providerCfg
    
    	pubKeys          publicKeys
    	roleArnPolicyMap map[arn.ARN]string
    
    	transport   http.RoundTripper
    	closeRespFn func(io.ReadCloser)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top