Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RemoteToLocal (2.07 sec)

  1. cmd/batch-replicate.go

    	Source     BatchJobReplicateSource `yaml:"source" json:"source"`
    
    	clnt *miniogo.Core `msg:"-"`
    }
    
    // RemoteToLocal returns true if source is remote and target is local
    func (r BatchJobReplicateV1) RemoteToLocal() bool {
    	return !r.Source.Creds.Empty()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 18:51:46 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	}
    	for {
    		select {
    		case <-j.ctx.Done():
    			return
    		case job, ok := <-j.jobCh:
    			if !ok {
    				return
    			}
    			switch {
    			case job.Replicate != nil:
    				if job.Replicate.RemoteToLocal() {
    					if err := job.Replicate.StartFromSource(job.ctx, j.objLayer, *job); err != nil {
    						if !isErrBucketNotFound(err) {
    							batchLogIf(j.ctx, err)
    							j.canceler(job.ID, false)
    							continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top