Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for nmap (0.22 sec)

  1. cmd/erasure-server-pool-decom.go

    func (p *poolMeta) validate(pools []*erasureSets) (bool, error) {
    	type poolInfo struct {
    		position     int
    		completed    bool
    		decomStarted bool // started but not finished yet
    	}
    
    	rememberedPools := make(map[string]poolInfo)
    	for idx, pool := range p.Pools {
    		complete := false
    		decomStarted := false
    		if pool.Decommission != nil {
    			if pool.Decommission.Complete {
    				complete = true
    			}
    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)
  2. cmd/erasure-metadata.go

    func GetInternalReplicationState(m map[string][]byte) ReplicationState {
    	m1 := make(map[string]string, len(m))
    	for k, v := range m {
    		m1[k] = string(v)
    	}
    	return getInternalReplicationState(m1)
    }
    
    // getInternalReplicationState fetches internal replication state from the map m
    func getInternalReplicationState(m map[string]string) ReplicationState {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. cmd/sftp-server.go

    					}
    					return &ssh.Permissions{
    						CriticalOptions: map[string]string{
    							ldapUser:  targetUser,
    							ldapUserN: c.User(),
    						},
    						Extensions: make(map[string]string),
    					}, nil
    				}
    				if subtle.ConstantTimeCompare([]byte(sa.Credentials.SecretKey), pass) == 1 {
    					return &ssh.Permissions{
    						CriticalOptions: map[string]string{
    							"accessKey": c.User(),
    						},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    func filterReplicationStatusMetadata(metadata map[string]string) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    			for k, v := range metadata {
    				dst[k] = v
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/test-utils_test.go

    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    // Headers to ignore in streaming v4
    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. cmd/metrics-v3-handler.go

    //
    // FIXME: It currently only lists `minio_` prefixed metrics.
    func (h *metricsV3Server) listMetrics(path string) http.Handler {
    	// First collect all matching MetricsGroup's
    	matchingMG := make(map[collectorPath]*MetricsGroup)
    	for _, collPath := range h.metricsData.collectorPaths {
    		if collPath.isDescendantOf(path) {
    			if v, ok := h.metricsData.mgMap[collPath]; ok {
    				matchingMG[collPath] = v
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    // we also use uniform number of drives common across all ellipses patterns.
    func possibleSetCountsWithSymmetry(setCounts []uint64, argPatterns []ellipses.ArgPattern) []uint64 {
    	newSetCounts := make(map[uint64]struct{})
    	for _, ss := range setCounts {
    		var symmetry bool
    		for _, argPattern := range argPatterns {
    			for _, p := range argPattern {
    				if uint64(len(p.Seq)) > ss {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    }
    
    func getPoolsInfo(ctx context.Context, allDisks []madmin.Disk) (map[int]map[int]madmin.ErasureSetInfo, error) {
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil {
    		return nil, errServerNotInitialized
    	}
    
    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		return nil, errServerNotInitialized
    	}
    
    	poolsInfo := make(map[int]map[int]madmin.ErasureSetInfo)
    	for _, d := range allDisks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. cmd/metrics-v3-system-drive.go

    		allDriveLabels...)
    )
    
    func getCurrentDriveIOStats() map[string]madmin.DiskIOStats {
    	var types madmin.MetricType = madmin.MetricsDisk
    	driveRealtimeMetrics := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	stats := map[string]madmin.DiskIOStats{}
    	for d, m := range driveRealtimeMetrics.ByDisk {
    		stats[d] = m.IOStats
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    // https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "AssumeRole")
    
    	claims := make(map[string]interface{})
    	defer logger.AuditLog(ctx, w, r, claims)
    
    	// Check auth here (otherwise r.Form will have unexpected values from
    	// the call to `parseForm` below), but return failure only after we are
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top