Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Peters (0.17 sec)

  1. cmd/notification.go

    		return
    	}
    
    	if pools, ok := objAPI.(*erasureServerPools); ok {
    		pools.StopRebalance()
    	}
    }
    
    // LoadRebalanceMeta notifies all peers to load rebalance.bin from object layer.
    // Note: Only peers participating in rebalance operation, namely the first node
    // in each pool will load rebalance.bin.
    func (sys *NotificationSys) LoadRebalanceMeta(ctx context.Context, startRebalance bool) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  2. istioctl/cmd/root_test.go

    	_ = parent.PersistentFlags().String(parentFlag1, "", parentFlag1)
    	_ = parent.PersistentFlags().String(parentFlag2, "", parentFlag2)
    	var out bytes.Buffer
    	parent.SetOut(&out)
    	parent.SetErr(&out)
    
    	child := &cobra.Command{
    		Use: "child",
    		Run: func(c *cobra.Command, args []string) {},
    	}
    	_ = parent.PersistentFlags().String(childFlag2, "", childFlag2)
    	parent.AddCommand(child)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    //msgp:ignore metaCacheRPC
    type metaCacheRPC struct {
    	o      listPathOptions
    	mu     sync.Mutex
    	meta   *metacache
    	rpc    *peerRESTClient
    	cancel context.CancelFunc
    }
    
    func (m *metaCacheRPC) setErr(err string) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	meta := *m.meta
    	if meta.status != scanStateError {
    		meta.error = err
    		meta.status = scanStateError
    	} else {
    		// An error is already set.
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. internal/arn/arn.go

    )
    
    // ARN - representation of resources based on AWS ARNs.
    type ARN struct {
    	Partition    string
    	Service      string
    	Region       string
    	ResourceType string
    	ResourceID   string
    }
    
    // Allows english letters, numbers, '.', '-', '_' and '/'. Starts with a
    // letter or digit. At least 1 character long.
    var validResourceIDRegex = regexp.MustCompile(`[A-Za-z0-9_/\.-]+$`)
    
    // NewIAMRoleARN - returns an ARN for a role in MinIO.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    	logCh := make(chan log.Info, 1000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    	encodedCh := make(chan []byte, 1000+len(peers)*1000)
    	err = globalConsoleSys.Subscribe(logCh, ctx.Done(), node, limitLines, logKind, nil)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. cmd/admin-handlers_test.go

    	if err != nil {
    		t.Fatal("Failed to initialize a single node Erasure backend for admin handler tests.", err)
    	}
    	defer adminTestBed.TearDown()
    
    	// Initialize admin peers to make admin RPC calls. Note: In a
    	// single node setup, this degenerates to a simple function
    	// call under the hood.
    	globalMinioAddr = "127.0.0.1:9000"
    
    	var wg sync.WaitGroup
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/ztunnelserver_test.go

    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
    
    	// we should get the fd to dev null. note that we can't assert the fd number
    	// as the kernel may have given us a different number that refers to the same file.
    	assert.Equal(t, len(fds), 1)
    	// in theory we should close the fd, but it's just a test..
    
    	assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. schema/relationship.go

    					return nil
    				}
    			}
    		}
    	}
    
    	var (
    		name     string
    		idx      = strings.Index(str, ",")
    		settings = ParseTagSetting(str, ",")
    	)
    
    	// optimize match english letters and midline
    	// The following code is basically called in for.
    	// In order to avoid the performance problems caused by repeated compilation of regular expressions,
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  9. internal/config/errors-utils.go

    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    	return Err{msg: err.Error()}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    	}
    	pkg = &apiPackage{tpkg, files}
    
    	if usePkgCache {
    		pkgCache[key] = pkg
    	}
    
    	w.imported[name] = pkg
    	return pkg, nil
    }
    
    // pushScope enters a new scope (walking a package, type, node, etc)
    // and returns a function that will leave the scope (with sanity checking
    // for mismatched pushes & pops)
    func (w *Walker) pushScope(name string) (popFunc func()) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top