Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for _new (0.02 sec)

  1. cmd/batch-handlers.go

    		format = batchExpireFormat
    	default:
    		return errors.New("no supported batch job request specified")
    	}
    
    	data, err := readConfig(ctx, api, path)
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) || isErrObjectNotFound(err) {
    			return errNoSuchJob
    		}
    		return err
    	}
    	if len(data) == 0 {
    		// Seems to be empty create a new batchRepl object.
    		return nil
    	}
    	if len(data) <= 4 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. 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() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K 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{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  4. 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
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	}
    
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	// Check that the LDAP sts cred is actually working.
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    		Secure:    s.secure,
    		Transport: s.TestSuiteCommon.client.Transport,
    	})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    				3: {checkPartSuccess, checkPartSuccess, checkPartSuccess, checkPartFileNotFound},
    			},
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    
    		// Add new cases as seen
    	}
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.name, func(t *testing.T) {
    			gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. 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
    	}
    
    	if !utf8.ValidString(accessKey) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  8. cmd/data-usage-cache_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "AllTierStats")
    					return
    				}
    				z.AllTierStats = nil
    			} else {
    				if z.AllTierStats == nil {
    					z.AllTierStats = new(allTierStats)
    				}
    				err = z.AllTierStats.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "AllTierStats")
    					return
    				}
    			}
    			zb0001Mask |= 0x1
    		case "c":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	getPeerMetricsRPC              = grid.NewSingleHandler[*grid.MSS, *grid.Array[*MetricV2]](grid.HandlerGetPeerMetrics, grid.NewMSS, aoMetricsGroup.New)
    	getResourceMetricsRPC          = grid.NewSingleHandler[*grid.MSS, *grid.Array[*MetricV2]](grid.HandlerGetResourceMetrics, grid.NewMSS, aoMetricsGroup.New)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "new", "", "", 3, resultCases[5], nil, true},
    		{"test-bucket-list-object", "new", "", "", 4, resultCases[5], nil, true},
    		{"test-bucket-list-object", "new", "", "", 5, resultCases[5], nil, true},
    		{"test-bucket-list-object", "obj", "", "", 3, resultCases[6], nil, true},
    		// Testing with prefix and truncation (27-28).
    		{"test-bucket-list-object", "new", "", "", 1, resultCases[7], nil, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top