Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 323 for none (0.2 sec)

  1. cmd/batch-expire.go

    				xfer := make([]expireObjInfo, len(toDel))
    				copy(xfer, toDel)
    
    				var done bool
    				select {
    				case <-ctx.Done():
    					done = true
    				case expireCh <- xfer:
    					toDel = toDel[:0] // resetting toDel
    				}
    				if done {
    					break
    				}
    			}
    			var match BatchJobExpireFilter
    			var found bool
    			for _, rule := range r.Rules {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  2. cmd/iam-store.go

    // response to a notification (i.e. isFromNotification = true), it skips the
    // validation of policy usage and the attempt to delete in the backend as well
    // (as this is already done by the notifying node).
    func (store *IAMStoreSys) DeletePolicy(ctx context.Context, policy string, isFromNotification bool) error {
    	if policy == "" {
    		return errInvalidArgument
    	}
    
    	cache := store.lock()
    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)
  3. cmd/metrics-resource.go

    		total:             "Total memory on the node",
    		memUsed:           "Used memory on the node",
    		memUsedPerc:       "Used memory percentage on the node",
    		memFree:           "Free memory on the node",
    		memShared:         "Shared memory on the node",
    		memBuffers:        "Buffers memory on the node",
    		memCache:          "Cache memory on the node",
    		memAvailable:      "Available memory on the node",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. cmd/bucket-replication-stats.go

    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-r.wTimer.C:
    			r.wlock.Lock()
    			r.workers.update()
    			r.wlock.Unlock()
    
    		}
    	}
    }
    
    func (r *ReplicationStats) collectQueueMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-r.qTimer.C:
    			r.qCache.update()
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/server.go

    	}
    
    	cfg := &iptables.Config{
    		RestoreFormat: true,
    		RedirectDNS:   args.DNSCapture,
    		EnableIPv6:    args.EnableIPv6,
    	}
    
    	log.Debug("creating ipsets in the node netns")
    	set, err := createHostsideProbeIpset(cfg.EnableIPv6)
    	if err != nil {
    		return nil, fmt.Errorf("error initializing hostside probe ipset: %w", err)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    			if testCase.inputMd5 != actualInfo.ETag {
    				t.Errorf("Test %d: %s: Calculated Md5 different from the actual one %s.", i+1, instanceType, actualInfo.ETag)
    			}
    		}
    	}
    }
    
    // Wrapper for calling TestListMultipartUploads tests for both Erasure multiple disks and single node setup.
    func TestListMultipartUploads(t *testing.T) {
    	ExecExtendedObjectLayerTest(t, testListMultipartUploads)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  7. internal/s3select/csv/args.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import (
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	none = "none"
    	use  = "use"
    
    	defaultRecordDelimiter      = "\n"
    	defaultFieldDelimiter       = ","
    	defaultQuoteCharacter       = `"`
    	defaultQuoteEscapeCharacter = `"`
    	defaultCommentCharacter     = "#"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    }
    
    // ConsoleLogHandler sends console logs of this node back to peer rest client
    func (s *peerRESTServer) ConsoleLogHandler(ctx context.Context, params *grid.MSS, out chan<- *grid.Bytes) *grid.RemoteErr {
    	mask, err := strconv.Atoi(params.Get(peerRESTLogMask))
    	if err != nil {
    		mask = int(madmin.LogMaskAll)
    	}
    	ch := make(chan log.Info, 1000)
    	err = globalConsoleSys.Subscribe(ch, ctx.Done(), "", 0, madmin.LogMask(mask), nil)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server_test.go

    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    	atomic.AddInt32(&wg.count, i)
    }
    
    func (wg *WaitGroup) Done() {
    	i := atomic.AddInt32(&wg.count, -1)
    	if i == 0 {
    		close(wg.done)
    	}
    }
    
    func (wg *WaitGroup) C() <-chan struct{} {
    	return wg.done
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. cmd/consolelogger.go

    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    func (sys *HTTPConsoleLoggerSys) Subscribe(subCh chan log.Info, doneCh <-chan struct{}, node string, last int, logKind madmin.LogMask, filter func(entry log.Info) bool) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top