Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for nilable (0.2 sec)

  1. cmd/admin-handlers-users_test.go

    		c.Fatalf("error creating user minio client: %s", err)
    	}
    	return client
    }
    
    func TestIAMInternalIDPServerSuite(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("windows is clunky disable these tests")
    	}
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    				suite := testCase
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  2. internal/handlers/forwarder.go

    		outReq.Host = target.Host
    	}
    
    	// TODO: only supports HTTP 1.1 for now.
    	outReq.Proto = "HTTP/1.1"
    	outReq.ProtoMajor = 1
    	outReq.ProtoMinor = 1
    
    	f.rewriter.Rewrite(outReq)
    
    	// Disable closeNotify when method GET for http pipelining
    	if outReq.Method == http.MethodGet {
    		quietReq := outReq.WithContext(context.Background())
    		*outReq = *quietReq
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. cmd/server-main.go

    			t := time.AfterFunc(5*time.Minute, func() {
    				warnings = append(warnings, color.YellowBold("- Initializing the config subsystem is taking longer than 5 minutes. Please set '_MINIO_DISABLE_API_FREEZE_ON_BOOT=true' to not freeze the APIs"))
    			})
    			defer t.Stop()
    		}
    
    		// Initialize data scanner.
    		bootstrapTrace("initDataScanner", func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  4. cmd/data-scanner.go

    		sizeS.replicaCount++
    	}
    }
    
    type dynamicSleeper struct {
    	mu sync.RWMutex
    
    	// Sleep factor
    	factor float64
    
    	// maximum sleep cap,
    	// set to <= 0 to disable.
    	maxSleep time.Duration
    
    	// Don't sleep at all, if time taken is below this value.
    	// This is to avoid too small costly sleeps.
    	minSleep time.Duration
    
    	// cycle will be closed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	accessKey := vars["accessKey"]
    	status := vars["status"]
    
    	// you cannot enable or disable yourself.
    	if accessKey == creds.AccessKey {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/batch-job-common-types.go

    // BatchJobSnowball describes the snowball feature when replicating objects from a local source to a remote target
    type BatchJobSnowball struct {
    	line, col   int
    	Disable     *bool   `yaml:"disable" json:"disable"`
    	Batch       *int    `yaml:"batch" json:"batch"`
    	InMemory    *bool   `yaml:"inmemory" json:"inmemory"`
    	Compress    *bool   `yaml:"compress" json:"compress"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. cmd/main.go

    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:  "certs-dir, S",
    		Value: defaultCertsDir.Get(),
    		Usage: "path to certs directory",
    	},
    	cli.BoolFlag{
    		Name:  "quiet",
    		Usage: "disable startup and info messages",
    	},
    	cli.BoolFlag{
    		Name:  "anonymous",
    		Usage: "hide sensitive information from logging",
    	},
    	cli.BoolFlag{
    		Name:  "json",
    		Usage: "output logs in JSON format",
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/jwt.go

    		if s3Err != ErrNone {
    			return nil, nil, false, errAuthentication
    		}
    
    		for k, v := range eclaims {
    			claims.MapClaims[k] = v
    		}
    
    		// if root access is disabled, disable all its service accounts and temporary credentials.
    		if ucred.ParentUser == globalActiveCred.AccessKey && !globalAPIConfig.permitRootAccess() {
    			return nil, nil, false, errAccessKeyDisabled
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil.go

    			nw = int64(n)
    		} else {
    			if remain < len(buf) {
    				n, err = w.Write(buf[:len(buf)-remain])
    				if err != nil {
    					return written, err
    				}
    				nw = int64(n)
    			}
    
    			// Disable O_DIRECT on fd's on unaligned buffer
    			// perform an amortized Fdatasync(fd) on the fd at
    			// the end, this is performed by the caller before
    			// closing 'w'.
    			if err = disk.DisableDirectIO(file); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. cmd/utils.go

    }
    
    func setDefaultProfilerRates() {
    	runtime.MemProfileRate = 128 << 10 // 512KB -> 128K - Must be constant throughout application lifetime.
    	runtime.SetMutexProfileFraction(0) // Disable until needed
    	runtime.SetBlockProfileRate(0)     // Disable until needed
    }
    
    // Starts a profiler returns nil if profiler is not enabled, caller needs to handle this.
    func startProfiler(profilerType string) (minioProfiler, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top