Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 179 for tool (0.28 sec)

  1. cmd/storage-rest-client.go

    func (client *storageRESTClient) IsOnline() bool {
    	return client.gridConn.State() == grid.StateConnected
    }
    
    // LastConn - returns when the disk is seen to be connected the last time
    func (client *storageRESTClient) LastConn() time.Time {
    	return client.restClient.LastConn()
    }
    
    func (client *storageRESTClient) IsLocal() bool {
    	return false
    }
    
    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)
  2. cmd/peer-s3-client.go

    	return madmin.HealResultItem{}, toObjectErr(errVolumeNotFound, bucket)
    }
    
    // ListBuckets lists buckets across all nodes and returns a consistent view:
    //   - Return an error when a pool cannot return N/2+1 valid bucket information
    //   - For each pool, check if the bucket exists in N/2+1 nodes before including it in the final result
    func (sys *S3PeerSys) ListBuckets(ctx context.Context, opts BucketOptions) ([]BucketInfo, error) {
    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)
  3. internal/grid/handlers.go

    			if r != rZero {
    				if rc, ok := any(r).(Recycler); ok {
    					rc.Recycle()
    				}
    			}
    		}
    	}
    	pool := sync.Pool{
    		New: func() interface{} {
    			return newRT()
    		},
    	}
    	return func() RT { return pool.Get().(RT) },
    		func(r RT) {
    			if r != rZero {
    				pool.Put(r)
    			}
    		}
    }
    
    // NewSingleHandler creates a typed handler that can provide Marshal/Unmarshal.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	// Wait for the receiver channel to fill.
    	for len(st.responses) != cap(st.responses) {
    		time.Sleep(time.Millisecond)
    	}
    	cancel()
    	<-serverCanceled
    	local.debugMsg(debugIsOutgoingClosed, st.muxID, func(closed bool) {
    		if !closed {
    			t.Error("expected outgoing closed")
    		} else {
    			t.Log("outgoing was closed")
    		}
    	})
    
    	// Drain responses and check if error propagated.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    	Error      string // carries the error over the network
    }
    
    // DiskMetrics has the information about XL Storage APIs
    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)
  6. internal/event/target/amqp.go

    	Internal          bool     `json:"internal"`
    	NoWait            bool     `json:"noWait"`
    	AutoDeleted       bool     `json:"autoDeleted"`
    	PublisherConfirms bool     `json:"publisherConfirms"`
    	QueueDir          string   `json:"queueDir"`
    	QueueLimit        uint64   `json:"queueLimit"`
    }
    
    //lint:file-ignore ST1003 We cannot change these exported names.
    
    // AMQP input constants.
    const (
    	AmqpQueueDir   = "queue_dir"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  7. internal/s3select/sql/value_test.go

    			}
    		})
    	}
    }
    
    func TestValue_bytesToBool(t *testing.T) {
    	type fields struct {
    		value interface{}
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		wantVal bool
    		wantOk  bool
    	}{
    		{
    			name: "true",
    			fields: fields{
    				value: []byte("true"),
    			},
    			wantVal: true,
    			wantOk:  true,
    		},
    		{
    			name: "false",
    			fields: fields{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  8. cmd/api-response.go

    	CreationDate string // time string of format "2006-01-02T15:04:05.000Z"
    }
    
    // ObjectVersion container for object version metadata
    type ObjectVersion struct {
    	Object
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    
    	isDeleteMarker bool
    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  9. internal/event/target/postgresql.go

    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *PostgreSQLTarget) IsActive() (bool, error) {
    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *PostgreSQLTarget) isActive() (bool, error) {
    	if err := target.db.Ping(); err != nil {
    		if IsConnErr(err) {
    			return false, store.ErrNotConnected
    		}
    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)
  10. cmd/bucket-lifecycle.go

    // IsEmpty returns true if output location not specified.
    func (o *OutputLocation) IsEmpty() bool {
    	return o.S3.BucketName == ""
    }
    
    // SelectParameters specifies sql select parameters
    type SelectParameters struct {
    	s3select.S3Select
    }
    
    // IsEmpty returns true if no select parameters set
    func (sp *SelectParameters) IsEmpty() bool {
    	return sp == nil
    }
    
    var selectParamsXMLName = "SelectParameters"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top