Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WriteMetadataHandler (0.09 sec)

  1. cmd/storage-rest-server.go

    	})
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	storageLogIf(r.Context(), msgp.Encode(w, &fi))
    }
    
    // WriteMetadataHandler rpc handler to write new updated metadata.
    func (s *storageRESTServer) WriteMetadataHandler(p *MetadataHandlerParams) (np grid.NoPayload, gerr *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return grid.NewNPErr(errDiskNotFound)
    	}
    
    	volume := p.Volume
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	ForceDelMarker bool          `msg:"fdm"`
    	Opts           DeleteOptions `msg:"do"`
    	FI             FileInfo      `msg:"fi"`
    }
    
    // MetadataHandlerParams is request info for UpdateMetadataHandle and WriteMetadataHandler.
    type MetadataHandlerParams struct {
    	DiskID     string             `msg:"id"`
    	Volume     string             `msg:"v"`
    	OrigVolume string             `msg:"ov"`
    	FilePath   string             `msg:"fp"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top