Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for sale (0.12 sec)

  1. cmd/peer-s3-client.go

    				}
    				bucketsMap[bi.Name]++
    				if bucketsMap[bi.Name] >= quorum {
    					resultMap[bi.Name] = bi
    				}
    			}
    		}
    		// loop through buckets and see if some with lost quorum
    		// these could be stale buckets lying around, queue a heal
    		// of such a bucket. This is needed here as we identify such
    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. internal/event/target/postgresql.go

    		if IsConnErr(err) {
    			return false, store.ErrNotConnected
    		}
    		return false, err
    	}
    	return true, nil
    }
    
    // Save - saves the events to the store if questore is configured, which will be replayed when the PostgreSQL connection is active.
    func (target *PostgreSQLTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		return target.store.Put(eventData)
    	}
    
    	if err := target.init(); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    // but that's not where we are today.
    // It might be at the beginning but it might be in the middle of the printed instruction.
    var fileLineRE = regexp.MustCompile(`(?:^|\()(testdata[/\\][\da-z]+\.s:\d+)(?:$|\)|:)`)
    
    // Same as in test/run.go
    var (
    	errRE       = regexp.MustCompile(`// ERROR ?(.*)`)
    	errQuotesRE = regexp.MustCompile(`"([^"]*)"`)
    )
    
    func testErrors(t *testing.T, goarch, file string, flags ...string) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers-config-kv.go

    	if verr := validateConfig(ctx, result.Cfg, result.SubSys); verr != nil {
    		err = badConfigErr{Err: verr}
    		return
    	}
    
    	// Check if subnet proxy being set and if so set the same value to proxy of subnet
    	// target of logger webhook configuration
    	result.LoggerWebhookCfgUpdated = setLoggerWebhookSubnetProxy(result.SubSys, result.Cfg)
    
    	// Update the actual server config on disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  5. cmd/tier.go

    	}
    	// Copy over the new tier configs
    	for tier, cfg := range newConfig.Tiers {
    		config.Tiers[tier] = cfg
    	}
    	config.lastRefreshedAt = UTCNow()
    	return nil
    }
    
    // Save saves tier configuration onto objAPI
    func (config *TierConfigMgr) Save(ctx context.Context, objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	pr, opts, err := globalTierConfigMgr.configReader(ctx)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. internal/rest/client.go

    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    	}
    	// The host's colon:port should be normalized. See Issue 14836.
    	u.Host = removeEmptyPort(u.Host)
    
    	// Transport is exactly same as Go default in https://golang.org/pkg/net/http/#RoundTripper
    	// except custom DialContext and TLSClientConfig.
    	clnt := &Client{
    		httpClient:               &http.Client{Transport: tr},
    		url:                      u,
    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)
  7. cmd/handler-utils.go

    	if location == "" {
    		location = globalSite.Region
    	}
    	if !isValidLocation(location) {
    		return location, ErrInvalidRegion
    	}
    
    	return location, ErrNone
    }
    
    // Validates input location is same as configured region
    // of MinIO server.
    func isValidLocation(location string) bool {
    	return globalSite.Region == "" || globalSite.Region == location
    }
    
    // Supported headers that needs to be extracted.
    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)
  8. cmd/erasure-server-pool-decom.go

    		}
    		p.Pools[idx].LastUpdate = now
    		if err := p.save(ctx, pools); err != nil {
    			return false, err
    		}
    		return true, nil
    	}
    	return false, nil
    }
    
    func (p poolMeta) save(ctx context.Context, pools []*erasureSets) error {
    	if p.dontSave {
    		return nil
    	}
    	data := make([]byte, 4, p.Msgsize()+4)
    
    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)
  9. cmd/storage-datatypes.go

    }
    
    // BaseOptions represents common options for all Storage API calls
    type BaseOptions struct{}
    
    // RenameOptions represents rename API options, currently its same as BaseOptions
    type RenameOptions struct {
    	BaseOptions
    }
    
    // DiskInfoOptions options for requesting custom results.
    type DiskInfoOptions struct {
    	DiskID  string `msg:"id"`
    	Metrics bool   `msg:"m"`
    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)
  10. cmd/xl-storage.go

    	}
    
    	return s.deleteFile(volumeDir, pathJoin(volumeDir, path, xlStorageFormatFile), true, false)
    }
    
    // DeleteVersions deletes slice of versions, it can be same object
    // or multiple objects.
    func (s *xlStorage) DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) []error {
    	errs := make([]error, len(versions))
    
    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