Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for CI (0.27 sec)

  1. cmd/admin-handlers-idp-config.go

    				return
    			}
    
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    
    		hasEnv := false
    		for _, ci := range cfgInfos {
    			if ci.IsCfg && ci.IsEnv {
    				hasEnv = true
    				break
    			}
    		}
    
    		if hasEnv {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigEnvOverridden), r.URL)
    			return
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		ci.UsedCapacity = dataUsageInfo.ObjectsTotalSize
    		ci.Info.NoOfBuckets = dataUsageInfo.BucketsCount
    		ci.Info.NoOfObjects = dataUsageInfo.ObjectsTotalCount
    
    		ci.DeploymentID = globalDeploymentID()
    		ci.ClusterName = fmt.Sprintf("%d-servers-%d-disks-%s", ci.Info.NoOfServers, ci.Info.NoOfDrives, ci.Info.MinioVersion)
    
    		select {
    		case resultCh <- ci:
    		case <-ctx.Done():
    			return
    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)
  3. cmd/veeam-sos-api.go

    		}
    
    		if quotaSize == 0 {
    			info := objAPI.StorageInfo(ctx, true)
    			info.Backend = objAPI.BackendInfo()
    
    			ci.Capacity = int64(GetTotalUsableCapacity(info.Disks, info))
    		} else {
    			ci.Capacity = quotaSize
    		}
    		ci.Available = ci.Capacity - ci.Used
    
    		buf = encodeResponse(&ci)
    	default:
    		return nil, errFileNotFound
    	}
    
    	etag := getMD5Hash(buf)
    	r := bytes.NewReader(buf)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  4. src/archive/zip/register.go

    	if _, dup := compressors.LoadOrStore(method, comp); dup {
    		panic("compressor already registered")
    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    	di, ok := decompressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return di.(Decompressor)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. istioctl/cmd/sysexits.go

    	ExitDataError      = 65 // some format error with input data
    
    	// below here are non-zero exit codes that don't indicate an error with istioctl itself
    	ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD
    )
    
    func GetExitCode(e error) int {
    	if strings.Contains(e.Error(), "unknown command") {
    		e = util.CommandParseError{Err: e}
    	}
    
    	switch e.(type) {
    	case util.CommandParseError:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    				return
    			}
    
    			okSt := (ci.StatusCode == http.StatusOK || ci.StatusCode == http.StatusPartialContent ||
    				ci.StatusCode == http.StatusPreconditionFailed || ci.StatusCode == http.StatusNotModified)
    			if okSt {
    				ci.WriteHeaders(w, func() {
    					// set common headers
    					setCommonHeaders(w)
    				}, func() {
    					okSt := (ci.StatusCode == http.StatusOK || ci.StatusCode == http.StatusPartialContent)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    const (
    	dotdotComponent = ".."
    	dotComponent    = "."
    )
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    		// under CI/CD test setups ignore empty hosts as invalid hosts
    		return nil
    	}
    	_, err := xnet.ParseHost(host)
    	return err
    }
    
    // Check if the incoming path has bad path components,
    // such as ".." and "."
    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. buildscripts/gen-ldflags.go

    }
    
    func commitTime() time.Time {
    	// git log --format=%cD -n1
    	var (
    		commitUnix []byte
    		err        error
    	)
    	cmdName := "git"
    	cmdArgs := []string{"log", "--format=%cI", "-n1"}
    	if commitUnix, err = exec.Command(cmdName, cmdArgs...).Output(); err != nil {
    		fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err)
    		os.Exit(1)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  9. cmd/endpoint.go

    					port = serverAddrPort
    				}
    				localPortSet.Add(port)
    
    				localEndpointCount++
    			}
    		}
    
    		reverseProxy := (env.Get("_MINIO_REVERSE_PROXY", "") != "") && ((env.Get("MINIO_CI_CD", "") != "") || (env.Get("CI", "") != ""))
    		// If not orchestrated
    		// and not setup in reverse proxy
    		if !orchestrated && !reverseProxy {
    			// Check whether same path is not used in endpoints of a host on different port.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  10. internal/config/cache/cache.go

    		return nil, ErrInvalidArgument
    	}
    }
    
    // Set sets the cache object info
    func (c Config) Set(ci *ObjectInfo) {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if !c.Enable {
    		return
    	}
    
    	if c.Endpoint == "" {
    		// Endpoint not set, make this a no-op
    		return
    	}
    
    	buf, err := ci.MarshalMsg(nil)
    	if err != nil {
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top