Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 202 for indexOf (0.15 sec)

  1. docs/erasure/README.md

    The drives should all be of approximately the same size.
    
    ## Get Started with MinIO in Erasure Code
    
    ### 1. Prerequisites
    
    Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#quickstart-for-linux)
    
    ### 2. Run MinIO Server with Erasure Code
    
    Example: Start MinIO server in a 12 drives setup, using MinIO binary.
    
    ```sh
    minio server /data{1...12}
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  2. internal/handlers/proxy.go

    		// Only grab the first (client) address. Note that '192.168.0.1,
    		// 10.1.1.1' is a valid key for X-Forwarded-For where addresses after
    		// the first may represent forwarding proxies earlier in the chain.
    		s := strings.Index(fwd, ", ")
    		if s == -1 {
    			s = len(fwd)
    		}
    		addr = fwd[:s]
    	} else if fwd := r.Header.Get(xRealIP); fwd != "" {
    		// X-Real-IP should only contain one IP address (the client making the
    		// request).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	// map of heal path to heal sequence
    	healSeqMap map[string]*healSequence // Indexed by endpoint
    	// keep track of the healing status of disks in the memory
    	//   false: the disk needs to be healed but no healing routine is started
    	//    true: the disk is currently healing
    	healLocalDisks map[Endpoint]bool
    	healStatus     map[string]healingTracker // Indexed by disk ID
    }
    
    // newHealState - initialize global heal state management
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  4. cmd/bucket-lifecycle_test.go

    			t.Fatalf("Test %d: expected %v but got %v for %v", i+1, tc.ondisk, actual, tc.meta)
    		}
    	}
    }
    
    func TestObjectIsRemote(t *testing.T) {
    	fi := newFileInfo("object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    	testCases := []struct {
    		meta   map[string]string
    		remote bool
    	}{
    		{
    			// restore in progress
    			meta: map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  5. helm/minio/templates/_helpers.tpl

    key in an existing secret (if it exists), otherwise it generates a random value. */}} {{- define "minio.getValueFromSecret" }} {{- $len := (default 16 .Length) | int -}} {{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}} {{- if $obj }} {{- index $obj .Key | b64dec -}} {{- else -}} {{- randAlphaNum $len -}} {{- end -}} {{- end }} {{- define "minio.root.username" -}} {{- if .Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace"...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 6.5K bytes
    - Viewed (2)
  6. docs/sts/wso2.md

    ## Explore Further
    
    - [MinIO STS Quickstart Guide](https://min.io/docs/minio/linux/developers/security-token-service.html)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("index, ':' not found in %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := line[:idx]
    		value := line[idx+1:]
    		if _, ok := wantTrailers[key]; !ok {
    			if cr.debug {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    		if len(objects) < BatchSize {
    			N = len(objects)
    		}
    		batch := objects[:N]
    
    		// We have to decrypt only ETags of SSE-S3 single-part
    		// objects.
    		// Therefore, we remember which objects (there index)
    		// in the current batch are single-part SSE-S3 objects.
    		metadata = metadata[:0:N]
    		buckets = buckets[:0:N]
    		names = names[:0:N]
    		SSES3SinglePartObjects := make(map[int]bool)
    		for i, object := range batch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    	endpoint   Endpoint
    	restClient *rest.Client
    	gridConn   *grid.Subroute
    	diskID     atomic.Pointer[string]
    
    	diskInfoCache *cachevalue.Cache[DiskInfo]
    }
    
    // Retrieve location indexes.
    func (client *storageRESTClient) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return client.endpoint.PoolIdx, client.endpoint.SetIdx, client.endpoint.DiskIdx
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	// latest version.
    	LatestModTime time.Time `msg:"lm"`
    
    	Versions     []FileInfo `msg:"vs"`
    	FreeVersions []FileInfo `msg:"fvs"`
    }
    
    // findVersionIndex will return the version index where the version
    // was found. Returns -1 if not found.
    func (f *FileInfoVersions) findVersionIndex(v string) int {
    	if f == nil || v == "" {
    		return -1
    	}
    	if v == nullVersionID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top