Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for types (0.24 sec)

  1. cmd/admin-handlers.go

    	}
    
    	n, err := strconv.Atoi(r.Form.Get("n"))
    	if err != nil || n <= 0 {
    		n = math.MaxInt32
    	}
    
    	var types madmin.MetricType
    	if t, _ := strconv.ParseUint(r.Form.Get("types"), 10, 64); t != 0 {
    		types = madmin.MetricType(t)
    	} else {
    		types = madmin.MetricsAll
    	}
    
    	disks := strings.Split(r.Form.Get("disks"), ",")
    	byDisk := strings.EqualFold(r.Form.Get("by-disk"), "true")
    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)
  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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. cmd/metrics-v2.go

    )
    
    const (
    	serverName = "server"
    )
    
    // MetricTypeV2 for the types of metrics supported
    type MetricTypeV2 string
    
    const (
    	gaugeMetric     = "gaugeMetric"
    	counterMetric   = "counterMetric"
    	histogramMetric = "histogramMetric"
    )
    
    // MetricDescription describes the metric
    type MetricDescription struct {
    	Namespace MetricNamespace `json:"MetricNamespace"`
    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)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top