Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for greeting (1.28 sec)

  1. cmd/site-replication.go

    )
    
    // MakeBucketHook - called during a regular make bucket call when cluster
    // replication is enabled. It is responsible for the creation of the same bucket
    // on remote clusters, and creating replication rules on local and peer
    // clusters.
    func (c *SiteReplicationSys) MakeBucketHook(ctx context.Context, bucket string, opts MakeBucketOptions) error {
    	// At this point, the local bucket is created.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/auth-handler_test.go

    		{"", "", false},
    		// Test case - 2.
    		{"AWSAccessKeyId", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    		// Only the query parameters are relevant for this particular test.
    		inputReq, err := http.NewRequest(http.MethodGet, "http://example.com", nil)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. internal/kms/single-key.go

    	if keyID == kms.keyID {
    		return nil
    	}
    	return Error{
    		HTTPStatusCode: http.StatusNotImplemented,
    		APICode:        "KMS.NotImplemented",
    		Err:            fmt.Errorf("creating custom key %q is not supported", keyID),
    	}
    }
    
    func (kms secretKey) GenerateKey(_ context.Context, keyID string, context Context) (DEK, error) {
    	if keyID == "" {
    		keyID = kms.keyID
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. internal/grid/manager.go

    	// serverside handlers.
    	handlers handlers
    
    	// local host name.
    	local string
    
    	// Validate incoming requests.
    	authRequest func(r *http.Request) error
    }
    
    // ManagerOptions are options for creating a new grid manager.
    type ManagerOptions struct {
    	Dialer       ContextDialer               // Outgoing dialer.
    	Local        string                      // Local host name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser.go

    	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
    	}
    	// Should validate region, only if region is set.
    	if !isValidRegion(sRegion, region) {
    		return ch, ErrAuthorizationHeaderMalformed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	uploadID := res.UploadID
    	// Creating a dummy bucket for tests.
    	err = obj.MakeBucket(context.Background(), "unused-bucket", MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    			// permission to alter the retention settings or delete the object
    			// if necessary. You can also use governance mode to test retention-period
    			// settings before creating a compliance-mode retention period.
    			// To override or remove governance-mode retention settings, a
    			// user must have the s3:BypassGovernanceRetention permission
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    	}
    	// Set the File formData
    	writer, err := w.CreateFormFile("file", "upload.txt")
    	if err != nil {
    		// return nil, err
    		return nil, err
    	}
    	writer.Write([]byte("hello world"))
    	// Close before creating the new request.
    	w.Close()
    
    	// Set the body equal to the created policy.
    	reader := bytes.NewReader(buf.Bytes())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. cmd/metacache-server-pool.go

    					}
    				}(*c)
    			}
    		}
    	}
    
    	if o.ID != "" && !o.Transient {
    		// We have an existing list ID, continue streaming.
    		if o.Create {
    			o.debugln("Creating", o)
    			entries, err = z.listAndSave(ctx, o)
    			if err == nil || err == io.EOF {
    				return entries, err
    			}
    			entries.truncate(0)
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    		if err != nil {
    			return nil, err
    		}
    		policies = append(policies, ps...)
    	}
    
    	return policies, nil
    }
    
    // AddUsersToGroup - adds users to group, creating the group if needed.
    func (store *IAMStoreSys) AddUsersToGroup(ctx context.Context, group string, members []string) (updatedAt time.Time, err error) {
    	if group == "" {
    		return updatedAt, errInvalidArgument
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top