Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for new (0.35 sec)

  1. cmd/bucket-stats_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "XferRateLrg")
    					return
    				}
    				z.XferRateLrg = nil
    			} else {
    				if z.XferRateLrg == nil {
    					z.XferRateLrg = new(XferStats)
    				}
    				err = z.XferRateLrg.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "XferRateLrg")
    					return
    				}
    			}
    		case "st":
    			if dc.IsNil() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    }
    
    // Initialize a new storage disk.
    func newXLStorage(ep Endpoint, cleanUp bool) (s *xlStorage, err error) {
    	immediatePurgeQueue := 100000
    	if globalIsTesting || globalIsCICD {
    		immediatePurgeQueue = 1
    	}
    	s = &xlStorage{
    		drivePath:      ep.Path,
    		endpoint:       ep,
    		globalSync:     globalFSOSync,
    		diskInfoCache:  cachevalue.New[DiskInfo](),
    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)
  3. cmd/object-api-multipart_test.go

    func TestObjectNewMultipartUpload(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    	ExecObjectLayerTest(t, testObjectNewMultipartUpload)
    }
    
    // Tests validate creation of new multipart upload instance.
    func testObjectNewMultipartUpload(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    	opts := ObjectOptions{}
    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)
  4. cmd/batch-handlers.go

    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobReplicateV1) Notify(ctx context.Context, ri *batchJobInfo) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    	// Validate all test cases.
    	for i, testCase := range testCases {
    		// Initialize a new xlStorage layer.
    		_, err := newLocalXLStorage(testCase.name)
    		if err != testCase.err {
    			t.Fatalf("TestXLStorage %d failed wanted: %s, got: %s", i+1, err, testCase.err)
    		}
    	}
    }
    
    // TestXLStorageMakeVol - TestXLStorage validate the logic for creation of new xlStorage volume.
    // Asserts the failures too against the expected failures.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    			}
    			want += int64(len(tmp) - len(after))
    
    			return buf[:want], err
    
    		default:
    			return nil, errors.New("unknown minor metadata version")
    		}
    	default:
    		return nil, errors.New("unknown major metadata version")
    	}
    }
    
    func decodeXLHeaders(buf []byte) (versions int, headerV, metaV uint8, b []byte, err error) {
    	hdrVer, buf, err := msgp.ReadUint8Bytes(buf)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/bucket-handlers.go

    	}
    
    	bucketsSet := set.NewStringSet()
    	bucketsToBeUpdated := set.NewStringSet()
    	bucketsInConflict := set.NewStringSet()
    
    	// This means that domain is updated, we should update
    	// all bucket entries with new domain name.
    	domainMissing := err == dns.ErrDomainMissing
    	if dnsBuckets != nil {
    		for _, bucket := range buckets {
    			bucketsSet.Add(bucket.Name)
    			r, ok := dnsBuckets[bucket.Name]
    			if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. docs/bucket/notifications/README.md

    ```
    
    ### Step 3: Test with Thumbnailer
    
    We used [Thumbnailer](https://github.com/minio/thumbnailer) to listen for MinIO notifications when a new JPEG file is uploaded (HTTP PUT). Triggered by a notification, Thumbnailer uploads a thumbnail of new image to MinIO server. To start with, download and install Thumbnailer.
    
    ```
    git clone https://github.com/minio/thumbnailer/
    npm install
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  9. cmd/admin-handlers-users.go

    		// reject password change requests.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    	// Check if accessKey has beginning and end space characters, this only applies to new users.
    	if !exists && hasSpaceBE(accessKey) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    		return
    	}
    
    	checkDenyOnly := false
    	if accessKey == cred.AccessKey {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes_gen.go

    			if msgp.IsNil(bts) {
    				bts, err = msgp.ReadNilBytes(bts)
    				if err != nil {
    					return
    				}
    				z.ActualSize = nil
    			} else {
    				if z.ActualSize == nil {
    					z.ActualSize = new(int64)
    				}
    				*z.ActualSize, bts, err = msgp.ReadInt64Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "ActualSize")
    					return
    				}
    			}
    		case "IsDir":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
Back to top