Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for once (0.56 sec)

  1. cmd/peer-rest-server.go

    	if err = verifyBinary(u, sha256Sum, releaseInfo, getMinioMode(), zr); err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    }
    
    // CommitBinary - overwrites the current binary with the new one.
    func (s *peerRESTServer) CommitBinaryHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    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)
  2. cmd/batch-handlers.go

    	writeSuccessNoContent(w)
    }
    
    //msgp:ignore BatchJobPool
    
    // BatchJobPool batch job pool
    type BatchJobPool struct {
    	ctx          context.Context
    	objLayer     ObjectLayer
    	once         sync.Once
    	mu           sync.Mutex
    	jobCh        chan *BatchJobRequest
    	jmu          sync.Mutex // protects jobCancelers
    	jobCancelers map[string]context.CancelFunc
    	workerKillCh chan struct{}
    	workerSize   int
    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)
  3. docs/bucket/notifications/README.md

    python rabbit.py
    ```
    
    Open another terminal and upload a JPEG image into `images` bucket.
    
    ```
    mc cp myphoto.jpg myminio/images
    ```
    
    You should receive the following event notification via RabbitMQ once the upload completes.
    
    ```py
    python rabbit.py
    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)
  4. cmd/bucket-handlers.go

    	cred, errCode := doesPolicySignatureMatch(formValues)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if len(fanOutEntries) > 0 {
    		// Once signature is validated, check if the user has
    		// explicit permissions for the user.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    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)
  5. cmd/xl-storage_test.go

    	// TestXLStorage empty list vols.
    	if volInfos, err = xlStorage.ListVols(context.Background()); err != nil {
    		t.Fatalf("expected: <nil>, got: %s", err)
    	} else if len(volInfos) != 1 {
    		t.Fatalf("expected: one entry, got: %s", volInfos)
    	}
    
    	// TestXLStorage non-empty list vols.
    	if err = xlStorage.MakeVol(context.Background(), "success-vol"); err != nil {
    		t.Fatalf("Unable to create volume, %s", err)
    	}
    
    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

    	meta   []byte
    }
    
    //msgp:ignore xlMetaV2 xlMetaV2ShallowVersion
    
    type xlMetaV2 struct {
    	versions []xlMetaV2ShallowVersion
    
    	// data will contain raw data if any.
    	// data will be one or more versions indexed by versionID.
    	// To remove all data set to nil.
    	data xlMetaInlineData
    
    	// metadata version.
    	metaV uint8
    }
    
    // LoadOrConvert will load the metadata in the buffer.
    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/admin-handlers-users.go

    		return
    	}
    
    	checkDenyOnly := false
    	if name == cred.AccessKey {
    		// Check that there is no explicit deny - otherwise it's allowed
    		// to view one's own info.
    		checkDenyOnly = true
    	}
    
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.GetUserAdminAction,
    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)
  8. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foodir/fooobject",
    			objectModTime:  time.Now().UTC().Add(-1 * time.Hour), // Created one hour ago
    			isDelMarker:    true,
    			expectedAction: DeleteVersionAction,
    		},
    		// Should not expire a delete marker; ExpiredObjectDeleteAllVersions applies only when current version is not a DEL marker.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top