Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 938 for storage (0.22 sec)

  1. cmd/storage-interface.go

    )
    
    // StorageAPI interface.
    type StorageAPI interface {
    	// Stringified version of disk.
    	String() string
    
    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    	// This has nothing to do with if the drive is hung or not responding.
    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. cmd/storage-errors.go

    // Copyright (c) 2015-2023 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    	// Reduced redundancy storage class environment variable
    	RRSEnv = "MINIO_STORAGE_CLASS_RRS"
    	// Standard storage class environment variable
    	StandardEnv = "MINIO_STORAGE_CLASS_STANDARD"
    	// Optimize storage class environment variable
    	OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE"
    	// Inline block indicates the size of the shard
    	// that is considered for inlining, remember this
    	// shard value is the value per drive shard it
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    // Make sure to bump the internode version at storage-rest-common.go
    type RawFileInfo struct {
    	// Content of entire xl.meta (may contain data depending on what was requested by the caller.
    	Buf []byte `msg:"b,allownil"`
    }
    
    // FileInfo - represents file stat information.
    // The above means that any added/deleted fields are incompatible.
    // Make sure to bump the internode version at storage-rest-common.go
    type FileInfo struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:41:27 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    }
    
    // Implements stringer compatible interface.
    func (s *xlStorage) String() string {
    	return s.drivePath
    }
    
    func (s *xlStorage) Hostname() string {
    	return s.endpoint.Host
    }
    
    func (s *xlStorage) Endpoint() Endpoint {
    	return s.endpoint
    }
    
    func (*xlStorage) Close() error {
    	return nil
    }
    
    func (s *xlStorage) IsOnline() bool {
    	return true
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 82.4K bytes
    - Viewed (0)
  7. cmd/storage-rest-common.go

    // Copyright (c) 2015-2022 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 12 21:00:20 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. cmd/storage-rest_test.go

    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // Storage REST server, storageRESTReceiver and StorageRESTClient are
    // inter-dependent, below test functions are sufficient to test all of them.
    func testStorageAPIDiskInfo(t *testing.T, storage StorageAPI) {
    	testCases := []struct {
    		expectErr bool
    	}{
    		{true},
    	}
    
    	for i, testCase := range testCases {
    		_, err := storage.DiskInfo(context.Background(), DiskInfoOptions{Metrics: true})
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    	h.Write(data)
    	hashBytes := h.Sum(nil)
    	if err := storage.WriteAll(context.Background(), volName, fileName, data); err != nil {
    		t.Fatal(err)
    	}
    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, hashBytes, 0); err != nil {
    		t.Fatal(err)
    	}
    
    	// 2) Whole-file bitrot check on corrupted file
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. internal/config/storageclass/storage-class_test.go

    		{"STANDARD", true},
    		{"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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top