Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for Dec (0.12 sec)

  1. internal/bucket/lifecycle/delmarker-expiration.go

    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
    	type delMarkerExpiration DelMarkerExpiration
    	var dexp delMarkerExpiration
    	err := dec.DecodeElement(&dexp, &start)
    	if err != nil {
    		return err
    	}
    
    	if dexp.Days <= 0 {
    		return errInvalidDaysDelMarkerExpiration
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. cmd/storage-rest-client.go

    	respBody, err := client.call(ctx, storageRESTMethodReadVersion, values, nil, -1)
    	if err != nil {
    		return fi, err
    	}
    	defer xhttp.DrainBody(respBody)
    
    	dec := msgpNewReader(respBody)
    	defer readMsgpReaderPoolPut(dec)
    
    	err = fi.DecodeMsg(dec)
    	return fi, err
    }
    
    // ReadXL - reads all contents of xl.meta of a file.
    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)
  3. internal/config/subnet/config.go

    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   config.License, // Deprecated Dec 2021
    		Value: "",
    	},
    	config.KV{
    		Key:   config.APIKey,
    		Value: "",
    	},
    	config.KV{
    		Key:   config.Proxy,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    	// The subnet license token - Deprecated Dec 2021
    	License string `json:"license"`
    
    	// The subnet api key
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle_test.go

    		restoreHdr     string
    		expectedStatus restoreObjStatus
    		expectedErr    error
    	}{
    		{
    			// valid: represents a restored object, 'pending' expiry.
    			restoreHdr: `ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 GMT"`,
    			expectedStatus: restoreObjStatus{
    				ongoing: false,
    				expiry:  time.Date(2012, 12, 21, 0, 0, 0, 0, time.UTC),
    			},
    			expectedErr: nil,
    		},
    		{
    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. docs/sts/web-identity.go

    	if err != nil {
    		return d, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return d, fmt.Errorf("unexpected error returned by %s : status(%s)", ustr, resp.Status)
    	}
    	dec := json.NewDecoder(resp.Body)
    	if err = dec.Decode(&d); err != nil {
    		return d, err
    	}
    	return d, nil
    }
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  6. internal/config/subnet/help.go

    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// HelpSubnet - provides help for subnet api key config
    	HelpSubnet = config.HelpKVS{
    		config.HelpKV{
    			Key:         config.License, // Deprecated Dec 2021
    			Type:        "string",
    			Description: "[DEPRECATED use api_key] Subnet license token for the cluster" + defaultHelpPostfix(config.License),
    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jul 13 19:24:47 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. internal/config/constants.go

    	EnvVolumes    = "MINIO_VOLUMES"
    	EnvDNSWebhook = "MINIO_DNS_WEBHOOK_ENDPOINT"
    
    	EnvSiteName   = "MINIO_SITE_NAME"
    	EnvSiteRegion = "MINIO_SITE_REGION"
    
    	EnvMinIOSubnetLicense = "MINIO_SUBNET_LICENSE" // Deprecated Dec 2021
    	EnvMinIOSubnetAPIKey  = "MINIO_SUBNET_API_KEY"
    	EnvMinIOSubnetProxy   = "MINIO_SUBNET_PROXY"
    
    	EnvMinIOCallhomeEnable    = "MINIO_CALLHOME_ENABLE"
    	EnvMinIOCallhomeFrequency = "MINIO_CALLHOME_FREQUENCY"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  8. cmd/peer-rest-client.go

    	if err != nil {
    		return nil, err
    	}
    	dec := gob.NewDecoder(respBody)
    	ch := make(chan madmin.ReplicationMRF)
    	go func(ch chan madmin.ReplicationMRF) {
    		defer func() {
    			xhttp.DrainBody(respBody)
    			close(ch)
    		}()
    		for {
    			var entry madmin.ReplicationMRF
    			if err := dec.Decode(&entry); err != nil {
    				return
    			}
    			select {
    			case <-ctx.Done():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    	case dataUsageCacheVerV2:
    		// Zstd compressed.
    		dec, err := zstd.NewReader(r, zstd.WithDecoderConcurrency(2))
    		if err != nil {
    			return err
    		}
    		defer dec.Close()
    
    		dold := &dataUsageCacheV2{}
    		if err = dold.DecodeMsg(msgp.NewReader(dec)); err != nil {
    			return err
    		}
    		d.Info = dold.Info
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. cmd/handler-utils.go

    		if countBktStat {
    			globalBucketHTTPStats.updateHTTPStats(bucket, api, nil)
    		}
    
    		globalHTTPStats.currentS3Requests.Inc(api)
    		f.ServeHTTP(w, r)
    		globalHTTPStats.currentS3Requests.Dec(api)
    
    		tc, _ := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if tc != nil {
    			globalHTTPStats.updateStats(api, tc.ResponseRecorder)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
Back to top