Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Source (0.24 sec)

  1. internal/dsync/locked_rand.go

    package dsync
    
    import (
    	"math/rand"
    	"sync"
    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Oct 18 15:39:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  2. internal/bucket/replication/sourceselectioncriteria.go

    )
    
    // ReplicaModifications specifies if replica modification sync is enabled
    type ReplicaModifications struct {
    	Status Status `xml:"Status" json:"Status"`
    }
    
    // SourceSelectionCriteria - specifies additional source selection criteria in ReplicationConfiguration.
    type SourceSelectionCriteria struct {
    	ReplicaModifications ReplicaModifications `xml:"ReplicaModifications" json:"ReplicaModifications"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. cmd/batch-replicate_gen.go

    				}
    			}
    		case "Target":
    			err = z.Target.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Target")
    				return
    			}
    		case "Source":
    			err = z.Source.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Source")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		return
    	}
    
    	// Read escaped copy source path to check for parameters.
    	cpSrcPath := r.Header.Get(xhttp.AmzCopySource)
    	var vid string
    	if u, err := url.Parse(cpSrcPath); err == nil {
    		vid = strings.TrimSpace(u.Query().Get(xhttp.VersionID))
    		// Note that url.Parse does the unescaping
    		cpSrcPath = u.Path
    	}
    
    	srcBucket, srcObject := path2BucketObject(cpSrcPath)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	for k, v := range userMeta {
    		// skip tier metadata when copying metadata from source object
    		switch k {
    		case metaTierName, metaTierStatus, metaTierObjName, metaTierVersionID:
    			continue
    		}
    		defaultMeta[k] = v
    	}
    
    	// remove SSE Headers from source info
    	crypto.RemoveSSEHeaders(defaultMeta)
    
    	// Storage class is special, it can be replaced regardless of the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. internal/logger/console.go

    	} else {
    		message = fmt.Sprint(args...)
    	}
    	logJSON, err := json.Marshal(&log.Entry{
    		Level:   FatalKind,
    		Message: message,
    		Time:    time.Now().UTC(),
    		Trace:   &log.Trace{Message: message, Source: []string{getSource(6)}},
    	})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Fprintln(Output, string(logJSON))
    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...interface{}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopySource: {
    		Code:           "InvalidArgument",
    		Description:    "Copy Source must mention the source bucket and key: sourcebucket/sourcekey.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMetadataDirective: {
    		Code:           "InvalidArgument",
    		Description:    "Unknown metadata directive.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/update.go

    			// remove quotes from the chart version
    			return strings.Trim(helmChartVersion, `"`)
    		}
    	}
    
    	return ""
    }
    
    // IsSourceBuild - returns if this binary is a non-official build from
    // source code.
    func IsSourceBuild() bool {
    	_, err := minioVersionToReleaseTime(Version)
    	return err != nil
    }
    
    // IsPCFTile returns if server is running in PCF
    func IsPCFTile() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. internal/crypto/error.go

    	errInvalidInternalIV            = Errorf("The internal encryption IV is malformed")
    	errInvalidInternalSealAlgorithm = Errorf("The internal seal algorithm is invalid and not supported")
    )
    
    // errOutOfEntropy indicates that the a source of randomness (PRNG) wasn't able
    // to produce enough random data. This is fatal error and should cause a panic.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    	return "Remote target does not have versioning enabled: " + e.Bucket
    }
    
    // BucketReplicationSourceNotVersioned replication source does not have versioning enabled.
    type BucketReplicationSourceNotVersioned GenericError
    
    func (e BucketReplicationSourceNotVersioned) Error() string {
    	return "Replication source does not have versioning enabled: " + e.Bucket
    }
    
    // TransitionStorageClassNotFound remote tier not configured.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top