Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for api (0.12 sec)

  1. cmd/object-handlers.go

    	}
    
    	if r.Header.Get(xMinIOExtract) == "true" && strings.Contains(object, archivePattern) {
    		api.getObjectInArchiveFileHandler(ctx, objectAPI, bucket, object, w, r)
    	} else {
    		api.getObjectHandler(ctx, objectAPI, bucket, object, w, r)
    	}
    }
    
    func (api objectAPIHandlers) headObjectHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) {
    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)
  2. cmd/metrics-v2.go

    					VariableLabels: map[string]string{"api": api},
    				})
    			}
    			for api, value := range httpStats.TotalS3Errors.APIStats {
    				metrics = append(metrics, MetricV2{
    					Description:    getS3RequestsErrorsMD(),
    					Value:          float64(value),
    					VariableLabels: map[string]string{"api": api},
    				})
    			}
    			for api, value := range httpStats.TotalS35xxErrors.APIStats {
    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)
  3. cmd/site-replication.go

    		}
    	}
    
    	// validate that all clusters are using the same IDP settings.
    	err = c.validateIDPSettings(ctx, sites)
    	if err != nil {
    		return madmin.ReplicateAddStatus{}, err
    	}
    
    	// For this `add` API, either all clusters must be empty or the local
    	// cluster must be the only one having some buckets.
    	if localHasBuckets && nonLocalPeerWithBuckets != "" {
    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)
  4. cmd/bucket-replication.go

    		case "slow":
    			replLogOnceIf(GlobalContext, fmt.Errorf("Unable to keep up with incoming traffic - we recommend increasing replication priority with `mc admin config set api replication_priority=auto`"), string(replicationSubsystem), logger.WarningKind)
    		default:
    			maxWorkers = min(maxWorkers, WorkerMaxLimit)
    			if p.ActiveWorkers() < maxWorkers {
    				p.mu.RLock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/server_test.go

    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/set"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // API suite container common to both ErasureSD and Erasure.
    type TestSuiteCommon struct {
    	serverType string
    	testServer TestServer
    	endPoint   string
    	accessKey  string
    	secretKey  string
    	signer     signerType
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	ioutilx "github.com/minio/minio/internal/ioutil"
    )
    
    // Type to capture different modifications to API request to simulate failure cases.
    type Fault int
    
    const (
    	None Fault = iota
    	MissingContentLength
    	TooBigObject
    	TooBigDecodedLength
    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    // Wrapper for calling HeadObject API handler tests for both Erasure multiple disks and FS single drive setup.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    // Supports following actions:
    // - restart (restarts all the MinIO instances in a setup)
    // - stop (stops all the MinIO instances in a setup)
    // - freeze (freezes all incoming S3 API calls)
    // - unfreeze (unfreezes previously frozen S3 API calls)
    //
    // This newer API now returns back status per remote peer and local regarding
    // if a "restart/stop" was successful or not. Service signal now supports
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top