Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 469 for type (4.78 sec)

  1. cmd/bootstrap-peer-server.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    )
    
    // To abstract a node over network.
    type bootstrapRESTServer struct{}
    
    //go:generate msgp -file=$GOFILE
    
    // ServerSystemConfig - captures information about server configuration.
    type ServerSystemConfig struct {
    	NEndpoints int
    	CmdLines   []string
    	MinioEnv   map[string]string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. cmd/api-utils.go

    		return s3URLEncode(name)
    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. internal/s3select/sql/jsonpath.go

    	// fmt.Printf("JPATHexpr: %v jsonobj: %v\n\n", p, v)
    	if len(p) == 0 || v == nil {
    		return v, false, nil
    	}
    
    	switch {
    	case p[0].Key != nil:
    		key := p[0].Key.keyString()
    
    		switch kvs := v.(type) {
    		case jstream.KVS:
    			for _, kv := range kvs {
    				if kv.Key == key {
    					return jsonpathEval(p[1:], kv.Value)
    				}
    			}
    			// Key not found - return nil result
    			return Missing{}, false, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. cmd/metrics-v2_gen.go

    			z.Help, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Help")
    				return
    			}
    		case "Type":
    			{
    				var zb0005 string
    				zb0005, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Type")
    					return
    				}
    				z.Type = MetricTypeV2(zb0005)
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  5. internal/bucket/replication/destination.go

    const DestinationARNPrefix = "arn:aws:s3:::"
    
    // DestinationARNMinIOPrefix - destination ARN prefix for MinIO.
    const DestinationARNMinIOPrefix = "arn:minio:replication:"
    
    // Destination - destination in ReplicationConfiguration.
    type Destination struct {
    	XMLName      xml.Name `xml:"Destination" json:"Destination"`
    	Bucket       string   `xml:"Bucket" json:"Bucket"`
    	StorageClass string   `xml:"StorageClass" json:"StorageClass"`
    	ARN          string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  6. internal/event/target/webhook.go

    	EnvWebhookQueueLimit = "MINIO_NOTIFY_WEBHOOK_QUEUE_LIMIT"
    	EnvWebhookClientCert = "MINIO_NOTIFY_WEBHOOK_CLIENT_CERT"
    	EnvWebhookClientKey  = "MINIO_NOTIFY_WEBHOOK_CLIENT_KEY"
    )
    
    // WebhookArgs - Webhook target arguments.
    type WebhookArgs struct {
    	Enable     bool            `json:"enable"`
    	Endpoint   xnet.URL        `json:"endpoint"`
    	AuthToken  string          `json:"authToken"`
    	Transport  *http.Transport `json:"-"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. cmd/metrics.go

    				[]string{"type"}, nil),
    			prometheus.GaugeValue,
    			float64(v), string(k),
    		)
    	}
    	for k, v := range bgSeq.getHealedItemsMap() {
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(healMetricsNamespace, "objects", "healed"),
    				"Objects healed in current self healing run",
    				[]string{"type"}, nil),
    			prometheus.GaugeValue,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	"github.com/minio/minio/internal/grid"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    //go:generate stringer -type=storageMetric -trimprefix=storageMetric $GOFILE
    
    type storageMetric uint8
    
    const (
    	storageMetricMakeVolBulk storageMetric = iota
    	storageMetricMakeVol
    	storageMetricListVols
    	storageMetricStatVol
    	storageMetricDeleteVol
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypePolicy,
    		Bucket:    bucket,
    		Policy:    bucketPolicyBytes,
    		UpdatedAt: updatedAt,
    	}))
    
    	// Success.
    	writeSuccessNoContent(w)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top