Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RemoteToLocal (0.12 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top