Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for type (0.19 sec)

  1. cmd/object-handlers_test.go

    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	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
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		}
    	}
    	return diffSlc
    }
    
    type srBucketMetaInfo struct {
    	madmin.SRBucketInfo
    	DeploymentID string
    }
    
    type srPolicy struct {
    	madmin.SRIAMPolicy
    	DeploymentID string
    }
    
    type srPolicyMapping struct {
    	madmin.SRPolicyMapping
    	DeploymentID string
    }
    
    type srUserInfo struct {
    	madmin.UserInfo
    	DeploymentID string
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  3. cmd/bucket-replication.go

    			return BucketRemoteIdenticalToSource{
    				Endpoint: epURL.String(),
    			}
    		}
    	}
    	return nil
    }
    
    type mustReplicateOptions struct {
    	meta               map[string]string
    	status             replication.StatusType
    	opType             replication.Type
    	replicationRequest bool // incoming request is a replication request
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. cmd/metrics-v2.go

    	Name      MetricName      `json:"MetricName"`
    	Help      string          `json:"Help"`
    	Type      MetricTypeV2    `json:"Type"`
    }
    
    // MetricV2 captures the details for a metric
    type MetricV2 struct {
    	Description          MetricDescription `json:"Description"`
    	StaticLabels         map[string]string `json:"StaticLabels"`
    	Value                float64           `json:"Value"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	// Execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Verify if the Content-Type header is set during the object persists.
    	c.Assert(response.Header.Get("Content-Type"), "image/png")
    
    	// Fetching the object itself and then verify the Content-Type header.
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, object); s3Error != ErrNone {
    		if getRequestAuthType(r) == authTypeAnonymous {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
Back to top