Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. internal/event/name_test.go

    		{ObjectCreatedAll, "s3:ObjectCreated:*"},
    		{ObjectCreatedCompleteMultipartUpload, "s3:ObjectCreated:CompleteMultipartUpload"},
    		{ObjectCreatedCopy, "s3:ObjectCreated:Copy"},
    		{ObjectCreatedPost, "s3:ObjectCreated:Post"},
    		{ObjectCreatedPut, "s3:ObjectCreated:Put"},
    		{ObjectRemovedAll, "s3:ObjectRemoved:*"},
    		{ObjectRemovedDelete, "s3:ObjectRemoved:Delete"},
    		{ObjectRemovedDeleteAllVersions, "s3:ObjectRemoved:DeleteAllVersions"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, rptData)
    }
    
    // ReplicationDiffHandler - POST returns info on unreplicated versions for a remote target ARN
    // to the connected HTTP client.
    func (a adminAPIHandlers) ReplicationDiffHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  6. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. internal/rest/client.go

    }
    
    // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
    // return true if the string includes a port.
    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    // removeEmptyPort strips the empty port in ":port" to ""
    // as mandated by RFC 3986 Section 6.2.3.
    func removeEmptyPort(host string) string {
    	if hasPort(host) {
    		return strings.TrimSuffix(host, ":")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. internal/logger/target/console/console.go

    		requestID = "\nRequestID: " + entry.RequestID
    	}
    
    	var remoteHost string
    	if entry.RemoteHost != "" {
    		remoteHost = "\nRemoteHost: " + entry.RemoteHost
    	}
    
    	var host string
    	if entry.Host != "" {
    		host = "\nHost: " + entry.Host
    	}
    
    	var userAgent string
    	if entry.UserAgent != "" {
    		userAgent = "\nUserAgent: " + entry.UserAgent
    	}
    
    	if len(entry.Trace.Variables) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. internal/event/target/postgresql.go

    	Enable             bool      `json:"enable"`
    	Format             string    `json:"format"`
    	ConnectionString   string    `json:"connectionString"`
    	Table              string    `json:"table"`
    	Host               xnet.Host `json:"host"`     // default: localhost
    	Port               string    `json:"port"`     // default: 5432
    	Username           string    `json:"username"` // default: user running minio
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top