Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for class (0.13 sec)

  1. internal/config/storageclass/storage-class_test.go

    		{"REDUCED_REDUNDANCY", true},
    		{"", false},
    		{"INVALID", false},
    		{"123", false},
    		{"MINIO_STORAGE_CLASS_RRS", false},
    		{"MINIO_STORAGE_CLASS_STANDARD", false},
    	}
    	for i, tt := range tests {
    		if got := IsValid(tt.sc); got != tt.want {
    			t.Errorf("Test %d, Expected Storage Class to be %t, got %t", i+1, tt.want, got)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. docs/sts/client_grants/sts_element.py

    else:
        _ETREE_EXCEPTIONS = (SyntaxError, AttributeError, ValueError, TypeError)
    
    _STS_NS = {'sts': 'https://sts.amazonaws.com/doc/2011-06-15/'}
    
    
    class STSElement(object):
        """STS aware XML parsing class. Wraps a root element name and
        cElementTree.Element instance. Provides STS namespace aware parsing
        functions.
    
        """
    
        def __init__(self, root_name, element):
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. buildscripts/cicd-corpus/disk4/bucket/testobj/xl.meta

    ���MetaSys��x-minio-internal-replica-status�REPLICA�"x-minio-internal-replica-timestamp�2022-03-20T15:17:01.730949636Z�MetaUsr��X-Amz-Replication-Status�REPLICA�etag� 9587ddd31fead633830366f45d221d56�content-type�application/octet-stream�x-amz-storage-class�STANDARD�$��PPb�I(��e��(�������������Ղ�Type�V2Obj��ID�PPb�I(��e��(�ǤDDir�+O~A߂J^�����3/�EcAlgo�EcM�EcN�EcBSize��EcIndex�EcDist��CSumAlgo�PartNums��PartETags��PartSizes��	ը�PartASizes��	ը�Size�	ը�MTime�����çM...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 20 19:49:05 GMT 2022
    - 1K bytes
    - Viewed (0)
  4. internal/config/browser/browser.go

    	EnvBrowserHSTSPreload           = "MINIO_BROWSER_HSTS_PRELOAD"
    	EnvBrowserReferrerPolicy        = "MINIO_BROWSER_REFERRER_POLICY"
    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   browserCSPPolicy,
    			Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline';",
    		},
    		config.KV{
    			Key:   browserHSTSSeconds,
    			Value: "0",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. docs/sts/client_grants/__init__.py

    import urllib3
    from botocore.credentials import CredentialProvider, RefreshableCredentials
    from botocore.exceptions import CredentialRetrievalError
    from dateutil.parser import parse
    
    from .sts_element import STSElement
    
    
    class ClientGrantsCredentialProvider(CredentialProvider):
        """
        ClientGrantsCredentialProvider implements CredentialProvider compatible
        implementation to be used with boto_session
        """
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  6. internal/bucket/replication/destination.go

    	if err != nil {
    		return err
    	}
    	if dest.StorageClass != "" {
    		switch dest.StorageClass {
    		case "STANDARD", "REDUCED_REDUNDANCY":
    		default:
    			return fmt.Errorf("unknown storage class %s", dest.StorageClass)
    		}
    	}
    	parsedDest.StorageClass = dest.StorageClass
    	*d = parsedDest
    	return nil
    }
    
    // Validate - validates Resource is for given bucket or not.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  7. internal/disk/stat_linux.go

    					// Check if there is a parent device:
    					//   e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the
    					//        real device name (nvme0n1) to get its sysfs information
    					parentDevPath, e := os.Readlink("/sys/class/block/" + devName)
    					if e == nil {
    						parentDev := filepath.Base(filepath.Dir(parentDevPath))
    						qst, err = bfs.SysBlockDeviceQueueStats(parentDev)
    					}
    				}
    				if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. internal/logger/console.go

    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    // Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
    type Logger interface {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. cmd/tier-handlers.go

    		return
    	}
    
    	var ignoreInUse bool
    	if forceStr := r.Form.Get("force"); forceStr != "" {
    		ignoreInUse, _ = strconv.ParseBool(forceStr)
    	}
    
    	// Disallow remote tiers with internal storage class names
    	switch cfg.Name {
    	case storageclass.STANDARD, storageclass.RRS:
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. docs/erasure/storage-class/README.md

    `MINIO_STORAGE_CLASS_STANDARD=EC:parity`
    `MINIO_STORAGE_CLASS_RRS=EC:parity`
    
    For example, set `MINIO_STORAGE_CLASS_RRS` parity 2 and `MINIO_STORAGE_CLASS_STANDARD` parity 3
    
    ```sh
    export MINIO_STORAGE_CLASS_STANDARD=EC:3
    export MINIO_STORAGE_CLASS_RRS=EC:2
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
Back to top