Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for setUp (0.15 sec)

  1. cmd/setup-type.go

    package cmd
    
    // SetupType - enum for setup type.
    type SetupType int
    
    const (
    	// UnknownSetupType - starts with unknown setup type.
    	UnknownSetupType SetupType = iota
    
    	// FSSetupType - FS setup type enum.
    	FSSetupType
    
    	// ErasureSDSetupType - Erasure single drive setup enum.
    	ErasureSDSetupType
    
    	// ErasureSetupType - Erasure setup type enum.
    	ErasureSetupType
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  2. cmd/os-reliable_test.go

    package cmd
    
    import (
    	"testing"
    )
    
    // Tests - mkdirAll()
    func TestOSMkdirAll(t *testing.T) {
    	// create xlStorage test setup
    	_, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	if err = mkdirAll("", 0o777, ""); err != errInvalidArgument {
    		t.Fatal("Unexpected error", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. cmd/routers.go

    )
    
    // Composed function registering routers for only distributed Erasure setup.
    func registerDistErasureRouters(router *mux.Router, endpointServerPools EndpointServerPools) {
    	// Register storage REST router only if its a distributed setup.
    	registerStorageRESTHandlers(router, endpointServerPools, globalGrid.Load())
    
    	// Register peer REST router only if its a distributed setup.
    	registerPeerRESTHandlers(router, globalGrid.Load())
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  4. cmd/admin-handlers_test.go

    	"sort"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/mux"
    )
    
    // adminErasureTestBed - encapsulates subsystems that need to be setup for
    // admin-handler unit tests.
    type adminErasureTestBed struct {
    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    }
    
    // ServiceHandler - POST /minio/admin/v3/service?action={action}
    // ----------
    // 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)
    func (a adminAPIHandlers) ServiceHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. cmd/bucket-policy-handlers_test.go

    	}
    	if errs != n-1 {
    		t.Fatalf("want %d errors, got %d", n-1, errs)
    	}
    }
    
    // Wrapper for calling Put Bucket Policy HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestPutBucketPolicyHandler(t *testing.T) {
    	ExecObjectLayerAPITest(t, testPutBucketPolicyHandler, []string{"PutBucketPolicy"})
    }
    
    // testPutBucketPolicyHandler - Test for Bucket policy end point.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    		// Requests in federated setups for STS type calls which are
    		// performed at '/' resource should be routed by the muxer,
    		// the assumption is simply such that requests without a bucket
    		// in a federated setup cannot be proxied, so serve them at
    		// current server.
    		if bucket == "" {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    		// MakeBucket requests should be handled at current endpoint
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. cmd/notification.go

    	// TX saturating, however there are situations where a RX might also saturate.
    	// To avoid these problems we must split the work at scale. With 1000 node
    	// setup becoming a reality we must try to shard the work properly such as
    	// pick 10 nodes that precisely can send those 100 requests the first node
    	// in the 10 node shard would coordinate between other 9 shards to get the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  9. internal/config/errors.go

    package config
    
    // UI errors
    var (
    	ErrInvalidXLValue = newErrFn(
    		"Invalid drive path",
    		"Please provide a fresh drive for single drive MinIO setup",
    		"MinIO only supports fresh drive paths",
    	)
    
    	ErrInvalidBrowserValue = newErrFn(
    		"Invalid console value",
    		"Please check the passed value",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. schema/field.go

    		case reflect.Int8, reflect.Uint8:
    			field.Size = 8
    		case reflect.Int16, reflect.Uint16:
    			field.Size = 16
    		case reflect.Int32, reflect.Uint32, reflect.Float32:
    			field.Size = 32
    		}
    	}
    
    	// setup permission
    	if val, ok := field.TagSettings["-"]; ok {
    		val = strings.ToLower(strings.TrimSpace(val))
    		switch val {
    		case "-":
    			field.Creatable = false
    			field.Updatable = false
    			field.Readable = false
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
Back to top