Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for minimum (0.16 sec)

  1. istioctl/pkg/install/k8sversion/version.go

    	pkgVersion "istio.io/istio/pkg/version"
    )
    
    const (
    	// MinK8SVersion is the minimum k8s version required to run this version of Istio
    	// https://istio.io/docs/setup/platform-setup/
    	MinK8SVersion               = 26
    	UnSupportedK8SVersionLogMsg = "\nThe Kubernetes version %s is not supported by Istio %s. The minimum supported Kubernetes version is 1.%d.\n" +
    		"Proceeding with the installation, but you might experience problems. " +
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 02:07:51 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. internal/auth/credentials_test.go

    		accessKey   string
    		secretKey   string
    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    		{alphaNumericTable[:accessKeyMinLen+1], alphaNumericTable[:secretKeyMinLen+1], true, nil},
    		// Smaller access key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. internal/config/heal/heal.go

    	}
    
    	months, err := strconv.Atoi(strings.TrimSuffix(s, "m"))
    	if err != nil {
    		return -1, err
    	}
    
    	if months < minimumBitrotCycleInMonths {
    		return -1, fmt.Errorf("minimum bitrot cycle is %d month(s)", minimumBitrotCycleInMonths)
    	}
    
    	return time.Duration(months) * 30 * 24 * time.Hour, nil
    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/admin-server-info.go

    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    		// it with quantiles summarizing the distribution of pause time.
    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    	debug.ReadGCStats(&gcStats)
    	// Truncate GC stats to max 5 entries.
    	if len(gcStats.PauseEnd) > 5 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    		disableMD5:    disableMD5,
    	}, nil
    }
    
    // ErrInvalidChecksum is returned when an invalid checksum is provided in headers.
    var ErrInvalidChecksum = errors.New("invalid checksum")
    
    // SetExpectedMin set expected minimum data expected from reader
    func (r *Reader) SetExpectedMin(expectedMin int64) {
    	r.expectedMin = expectedMin
    }
    
    // SetExpectedMax set expected max data expected from reader
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  6. internal/config/storageclass/storage-class.go

    	InlineBlockEnv = "MINIO_STORAGE_CLASS_INLINE_BLOCK"
    
    	// Supported storage class scheme is EC
    	schemePrefix = "EC"
    
    	// Min parity drives
    	minParityDrives = 0
    
    	// Default RRS parity is always minimum parity.
    	defaultRRSParity = 1
    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: "",
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. docs/debugging/s3-check-md5/main.go

    	flag.BoolVar(&versions, "versions", false, "Verify all versions")
    	flag.BoolVar(&insecure, "insecure", false, "Disable TLS verification")
    	flag.StringVar(&minModTimeStr, "modified-since", "", "Specify a minimum object last modified time, e.g.: 2023-01-02T15:04:05Z")
    	flag.Parse()
    
    	if endpoint == "" {
    		log.Fatalln("Endpoint is not provided")
    	}
    
    	if accessKey == "" {
    		log.Fatalln("Access key is not provided")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses.go

    	if len(totalSizes) == 0 || len(args) == 0 {
    		return nil, errInvalidArgument
    	}
    
    	setIndexes = make([][]uint64, len(totalSizes))
    	for _, totalSize := range totalSizes {
    		// Check if totalSize has minimum range upto setSize
    		if totalSize < setSizes[0] || totalSize < setDriveCount {
    			msg := fmt.Sprintf("Incorrect number of endpoints provided %s", args)
    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/utils_test.go

    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
    		}
    	}
    }
    
    // Tests minimum allowed part size.
    func TestMinAllowedPartSize(t *testing.T) {
    	sizes := []struct {
    		isMin bool
    		size  int64
    	}{
    		// Test - 1 - within minimum part size.
    		{
    			true,
    			globalMinPartSize + 1,
    		},
    		// Test - 2 - smaller than minimum part size.
    		{
    			false,
    			globalMinPartSize - 1,
    		},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. internal/grid/grid.go

    var ErrDisconnected = RemoteErr("remote disconnected")
    
    const (
    	// minBufferSize is the minimum buffer size.
    	// Buffers below this is not reused.
    	minBufferSize = 1 << 10
    
    	// defaultBufferSize is the default buffer allocation size.
    	defaultBufferSize = 4 << 10
    
    	// maxBufferSize is the maximum buffer size.
    	// Buffers larger than this is not reused.
    	maxBufferSize = 96 << 10
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top