Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsKubernetes (0.08 sec)

  1. cmd/admin-handlers.go

    	}
    
    	partialWrite := func(oinfo madmin.HealthInfo) {
    		select {
    		case healthInfoCh <- oinfo:
    		case <-healthCtx.Done():
    		}
    	}
    
    	getAndWritePlatformInfo := func() {
    		if IsKubernetes() {
    			healthInfo.Sys.KubernetesInfo = getKubernetesInfo(healthCtx)
    			partialWrite(healthInfo)
    		}
    	}
    
    	getAndWriteCPUs := func() {
    		if query.Get("syscpu") == "true" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// Content for the object to be uploaded.
    	buffer := bytes.NewReader([]byte("hello world"))
    	// make long object name.
    	longObjName := fmt.Sprintf("%0255d/%0255d/%0255d", 1, 1, 1)
    	if IsDocker() || IsKubernetes() {
    		longObjName = fmt.Sprintf("%0242d/%0242d/%0242d", 1, 1, 1)
    	}
    	// create new HTTP request to insert the object.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top