Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for instale (0.18 sec)

  1. cmd/metrics.go

    			Help:    "Time taken by requests served by current MinIO server instance",
    			Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10},
    		},
    		[]string{"api"},
    	)
    	bucketHTTPRequestsDuration = prometheus.NewHistogramVec(
    		prometheus.HistogramOpts{
    			Name:    "s3_ttfb_seconds",
    			Help:    "Time taken by requests served by current MinIO server instance per bucket",
    			Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10},
    		},
    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)
  2. cmd/erasure-object_test.go

    		{"bucket", "dir/", ObjectNotFound{Bucket: "bucket", Object: "dir/"}},
    		{"bucket", "dir/obj", nil},
    	}
    
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	// Create an instance of xl backend
    	xl, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer xl.Shutdown(context.Background())
    
    	err = xl.MakeBucket(ctx, "bucket", MakeBucketOptions{})
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  3. cmd/acl-handlers.go

    		return
    	}
    
    	acl := &accessControlPolicy{}
    	acl.AccessControlList.Grants = append(acl.AccessControlList.Grants, grant{
    		Grantee: grantee{
    			XMLNS:  "http://www.w3.org/2001/XMLSchema-instance",
    			XMLXSI: "CanonicalUser",
    			Type:   "CanonicalUser",
    		},
    		Permission: "FULL_CONTROL",
    	})
    
    	if err := xml.NewEncoder(w).Encode(acl); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  4. cmd/admin-handler-utils.go

    func validateAdminReq(ctx context.Context, w http.ResponseWriter, r *http.Request, actions ...policy.AdminAction) (ObjectLayer, auth.Credentials) {
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return nil, auth.Credentials{}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. internal/grid/types.go

    type ArrayOf[T RoundTripper] struct {
    	aPool sync.Pool // Arrays
    	ePool sync.Pool // Elements
    }
    
    // NewArrayOf returns a new ArrayOf.
    // You must provide a function that returns a new instance of T.
    func NewArrayOf[T RoundTripper](newFn func() T) *ArrayOf[T] {
    	return &ArrayOf[T]{
    		ePool: sync.Pool{New: func() any {
    			return newFn()
    		}},
    	}
    }
    
    // New returns a new empty Array.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    		sys.arnErrsMap[arn] = arnErrs{
    			updateInProgress: v.updateInProgress,
    			count:            v.count + 1,
    		}
    	}
    }
    
    // GetRemoteTargetClient returns minio-go client for replication target instance
    func (sys *BucketTargetSys) GetRemoteTargetClient(bucket, arn string) *TargetClient {
    	sys.RLock()
    	tgt := sys.arnRemotesMap[arn]
    	sys.RUnlock()
    
    	if tgt.Client != nil {
    		return tgt.Client
    	}
    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/update.go

    	return env.Get("KUBERNETES_SERVICE_HOST", "") != ""
    }
    
    // IsBOSH returns true if minio is deployed from a bosh package
    func IsBOSH() bool {
    	// "/var/vcap/bosh" exists in BOSH deployed instance.
    	_, err := os.Stat("/var/vcap/bosh")
    	if osIsNotExist(err) {
    		return false
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    		dstRecords, err = globalDNSConfig.Get(dstBucket)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		// Send PutObject request to appropriate instance (in federated deployment)
    		core, rerr := getRemoteInstanceClient(r, getHostFromSrv(dstRecords))
    		if rerr != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, rerr), r.URL)
    			return
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    		dstRecords, err = globalDNSConfig.Get(dstBucket)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		// Send PutObject request to appropriate instance (in federated deployment)
    		core, rerr := getRemoteInstanceClient(r, getHostFromSrv(dstRecords))
    		if rerr != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, rerr), r.URL)
    			return
    		}
    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)
  10. internal/cachevalue/cache.go

    		v T
    		e error
    	}]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    // New allocates a new cached value instance. Tt must be initialized with
    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top