Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. 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)
  5. cmd/erasure-server-pool.go

    	bootstrapTrace("newSharedLock", func() {
    		globalLeaderLock = newSharedLock(GlobalContext, z, "leader.lock")
    	})
    
    	// Enable background operations on
    	//
    	// - Disk auto healing
    	// - MRF (most recently failed) healing
    	// - Background expiration routine for lifecycle policies
    	bootstrapTrace("initAutoHeal", func() {
    		initAutoHeal(GlobalContext, z)
    	})
    
    	bootstrapTrace("initHealMRF", func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    	go sys.initHC(ep)
    	return false
    }
    
    // markOffline sets endpoint to offline if network i/o timeout seen.
    func (sys *BucketTargetSys) markOffline(ep *url.URL) {
    	sys.hMutex.Lock()
    	defer sys.hMutex.Unlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		h.Online = false
    		sys.hc[ep.Host] = h
    	}
    }
    
    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)
  7. cmd/erasure-object.go

    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    	case errors.Is(err, errErasureReadQuorum):
    		return true
    	// Check if the object is inexistent in most disks but not all of them
    	case errors.Is(err, errFileNotFound) || errors.Is(err, errFileVersionNotFound):
    		for i := range errs {
    			if errs[i] == nil {
    				return true
    			}
    		}
    	}
    	return false
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. 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)
  9. 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)
  10. cmd/format-erasure.go

    				newFormat.ID = deploymentID
    			}
    			hostCount[disk.Hostname()]++
    			formats[i*setDriveCount+j] = newFormat
    		}
    		var once sync.Once
    		for host, count := range hostCount {
    			if count > wantAtMost {
    				if host == "" {
    					host = "local"
    				}
    				once.Do(func() {
    					if len(hostCount) == 1 {
    						return
    					}
    					logger.Info(" * Set %v:", i+1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top