Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for Post (0.15 sec)

  1. cmd/post-policy_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName+"/upload.txt" {
    				t.Errorf("Test %s: Failed to stop post policy handler from writing to minioMetaBucket", instanceType)
    			}
    		}
    	}
    }
    
    // Wrapper for calling TestPostPolicyBucketHandler tests for both Erasure multiple disks and single node setup.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. internal/event/name.go

    import (
    	"encoding/json"
    	"encoding/xml"
    )
    
    // Name - event type enum.
    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 17:45:03 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. cmd/postpolicyform.go

    	Max   int64
    	Valid bool // If content-length-range was part of policy
    }
    
    // PostPolicyForm provides strict static type conversion and validation for Amazon S3's POST policy JSON string.
    type PostPolicyForm struct {
    	Expiration time.Time // Expiration date and time of the POST policy.
    	Conditions struct {  // Conditional policy structure.
    		Policies []struct {
    			Operator string
    			Key      string
    			Value    string
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    			// In FS mode the drive names don't include the host.
    			// So mapping just the host should be sufficient.
    			hostAnonymizer[url.Host] = "server1"
    		}
    	}
    	return hostAnonymizer
    }
    
    // anonymizeHost - Add entries related to given endpoint in the host anonymizer map
    // The health report data can contain the hostname in various forms e.g. host, host:port,
    // host:port/drivepath, full url (http://host:port/drivepath)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  5. cmd/storage-rest-client.go

    // Returns a storage rest client.
    func newStorageRESTClient(endpoint Endpoint, healthCheck bool, gm *grid.Manager) (*storageRESTClient, error) {
    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    		Path:   path.Join(storageRESTPrefix, endpoint.Path, storageRESTVersion),
    	}
    
    	restClient := rest.NewClient(serverURL, globalInternodeTransport, newCachedAuthToken())
    
    	if healthCheck {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	VersionID            string    // Specifies the versionID which needs to be overwritten or read
    	MTime                time.Time // Is only set in POST/PUT operations
    	Expires              time.Time // Is only used in POST/PUT operations
    
    	DeleteMarker            bool // Is only set in DELETE operations for delete marker replication
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    // Signature Version '4' authorization header.
    //
    // This package provides comprehensive helpers for following signature
    // types.
    // - Based on Authorization header.
    // - Based on Query parameters.
    // - Based on Form POST policy.
    package cmd
    
    import (
    	"bytes"
    	"crypto/subtle"
    	"encoding/hex"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    		DeleteMarker: oi.DeleteMarker,
    	}
    	// Notify object deleted event.
    	sendEvent(eventArgs{
    		EventName:  eventName,
    		BucketName: oi.Bucket,
    		Object:     objInfo,
    		UserAgent:  "Internal: [ILM-Expiry]",
    		Host:       globalLocalNodeName,
    	})
    
    	return nil
    }
    
    // generate an object name for transitioned object
    func genTransitionObjName(bucket string) (string, error) {
    	u, err := uuid.NewRandom()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	if ok {
    		return rt
    	}
    	return nil
    }
    
    // Returns a minio-go Client configured to access remote host described by destDNSRecord
    // Applicable only in a federated deployment
    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region)
    	// In a federated deployment, all the instances share config files
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    	},
    	ErrMalformedPOSTRequest: {
    		Code:           "MalformedPOSTRequest",
    		Description:    "The body of your POST request is not well-formed multipart/form-data.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrPOSTFileRequired: {
    		Code:           "InvalidArgument",
    		Description:    "POST requires exactly one file upload per request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSignatureVersionNotSupported: {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
Back to top