Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for Larsen (0.19 sec)

  1. internal/rest/client.go

    }
    
    // NewClient - returns new REST client.
    func NewClient(uu *url.URL, tr http.RoundTripper, newAuthToken func(aud string) string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    	}
    	// The host's colon:port should be normalized. See Issue 14836.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    				continue
    			}
    
    			bucketMap[bucket].LifecycleConfigXML = configData
    			bucketMap[bucket].LifecycleConfigUpdatedAt = updatedAt
    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketSSEConfig:
    			// Parse bucket encryption xml
    			encConfig, err := validateBucketSSEConfig(io.LimitReader(reader, maxBucketSSEConfigSize))
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. cmd/config-current.go

    			}
    		}
    	case config.SubnetSubSys:
    		subnetConfig, err := subnet.LookupConfig(s[config.SubnetSubSys][config.Default], globalRemoteTargetTransport)
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to parse subnet configuration: %w", err))
    		} else {
    			globalSubnetConfig.Update(subnetConfig, globalIsCICD)
    			globalSubnetConfig.ApplyEnv() // update environment settings for Console UI
    		}
    	case config.CallhomeSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    	keyName := "test/object"
    
    	var opts ObjectOptions
    
    	// The final name of the upload object
    	targetObj := keyName + "/upload.txt"
    
    	// The url of success_action_redirect field
    	redirectURL, err := url.Parse("http://www.google.com?query=value")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Register the API end points with Erasure/FS object layer.
    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader.go

    // Blocks will read this much and find the first following newline.
    // 128KB appears to be a very reasonable default.
    const csvSplitSize = 128 << 10
    
    // startReaders will read the header if needed and spin up a parser
    // and a number of workers based on GOMAXPROCS.
    // If an error is returned no goroutines have been started and r.err will have been set.
    func (r *Reader) startReaders(newReader func(io.Reader) *csv.Reader) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case poolMetaVersion:
    	default:
    		return fmt.Errorf("poolMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    
    	// OK, parse data.
    	if _, err = p.UnmarshalMsg(data[4:]); err != nil {
    		return err
    	}
    
    	switch p.Version {
    	case poolMetaVersionV1:
    	default:
    		return fmt.Errorf("unexpected pool meta version: %d", p.Version)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  7. cmd/storage-rest-server.go

    	if !owner {
    		return errAuthentication
    	}
    
    	if claims.Audience != r.URL.RawQuery {
    		return errAuthentication
    	}
    
    	requestTimeStr := r.Header.Get("X-Minio-Time")
    	requestTime, err := time.Parse(time.RFC3339, requestTimeStr)
    	if err != nil {
    		return errMalformedAuth
    	}
    	utcNow := UTCNow()
    	delta := requestTime.Sub(utcNow)
    	if delta < 0 {
    		delta *= -1
    	}
    	if delta > DefaultSkewTime {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    }
    
    func (d *PolicyDoc) update(p policy.Policy) {
    	now := UTCNow().Round(time.Millisecond)
    	d.UpdateDate = now
    	if d.CreateDate.IsZero() {
    		d.CreateDate = now
    	}
    	d.Policy = p
    }
    
    // parseJSON parses both the old and the new format for storing policy
    // definitions.
    //
    // The on-disk format of policy definitions has changed (around early 12/2021)
    // from policy.Policy to PolicyDoc. To avoid a migration, loading supports
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. internal/config/storageclass/storage-class.go

    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    		return fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)
    	}
    	return ""
    }
    
    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    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)
  10. cmd/xl-storage.go

    	err = readDirFn(baseDir, func(name string, typ os.FileMode) error {
    		if !typ.IsDir() {
    			return nil
    		}
    		// See if directory has a UUID name.
    		base := filepath.Base(name)
    		_, err := uuid.Parse(base)
    		if err == nil {
    			foundDirs[base] = struct{}{}
    		}
    		return nil
    	})
    	if err != nil {
    		return err
    	}
    	wantDirs, err := xl.getDataDirs()
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top