- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for IsSet (0.04 seconds)
-
cmd/common-main.go
//nolint:gocritic if !env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) { logger.Fatal(config.ErrMissingEnvCredentialRootUser(nil), "Unable to start MinIO") } else if env.IsSet(config.EnvRootUser) && !env.IsSet(config.EnvRootPassword) { logger.Fatal(config.ErrMissingEnvCredentialRootPassword(nil), "Unable to start MinIO") } else if !env.IsSet(config.EnvRootUser) && !env.IsSet(config.EnvRootPassword) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.5K bytes - Click Count (3) -
cmd/api-headers.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
cmd/erasure-multipart.go
if userDefined[xhttp.AmzStorageClass] == storageclass.STANDARD { delete(userDefined, xhttp.AmzStorageClass) } if opts.WantChecksum != nil && opts.WantChecksum.Type.IsSet() { userDefined[hash.MinIOMultipartChecksum] = opts.WantChecksum.Type.String() userDefined[hash.MinIOMultipartChecksumType] = opts.WantChecksum.Type.ObjType() } modTime := opts.MTime if opts.MTime.IsZero() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
cmd/update.go
} } if osIsNotExist(err) { // if none of the files are present we may be running inside // CRI-O, Containerd etc.. // Fallback to our container specific ENVs if they are set. return env.IsSet("MINIO_ACCESS_KEY_FILE") } // Log error, as we will not propagate it to caller internalLogIf(GlobalContext, err) return err == nil } // IsDCOS returns true if minio is running in DCOS.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.9K bytes - Click Count (0) -
cmd/site-replication.go
if peer.DeploymentID == v.DeploymentID { found = true if (!peer.SyncState.Empty() || peer.DefaultBandwidth.IsSet) && peer.Endpoint == "" { // peer.Endpoint may be "" if only sync state/bandwidth is being updated break } if peer.Endpoint == v.Endpoint && peer.SyncState.Empty() && !peer.DefaultBandwidth.IsSet {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
cmd/utils.go
} r.Body = hash.NewChecker(r.Body, md5.New(), want, r.ContentLength) return true } cs, err := hash.GetContentChecksum(r.Header) if err != nil { return false } if cs == nil || !cs.Type.IsSet() { return false } if cs.Valid() && !cs.Type.Trailing() { r.Body = hash.NewChecker(r.Body, cs.Type.Hasher(), cs.Raw, r.ContentLength) } return true }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
cmd/object-multipart-handlers.go
} } checksumType := hash.NewChecksumHeader(r.Header) if checksumType.Is(hash.ChecksumInvalid) { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidChecksum), r.URL) return } else if checksumType.IsSet() && !checksumType.Is(hash.ChecksumTrailing) { opts.WantChecksum = &hash.Checksum{Type: checksumType} } if opts.WantChecksum != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 07 16:13:09 GMT 2025 - 39.5K bytes - Click Count (1) -
cmd/object-handlers.go
// destination object using the x-amz-checksum-algorithm header. headerChecksumType := hash.NewChecksumHeader(r.Header) if headerChecksumType.IsSet() { dstOpts.WantServerSideChecksumType = headerChecksumType.Base() srcInfo.Reader.AddServerSideChecksumHasher(headerChecksumType) dstOpts.WantChecksum = nil } else {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 120.6K bytes - Click Count (0) -
cmd/test-utils_test.go
// Test Server needs to start before formatting of disks. // Get credential. credentials := globalActiveCred if !globalReplicationPool.IsSet() { globalReplicationPool.Set(nil) } testServer.Obj = objLayer testServer.rawDiskPaths = disks testServer.Disks = mustGetPoolEndpoints(0, disks...) testServer.AccessKey = credentials.AccessKeyCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
cmd/erasure-object.go
} default: actualSize = n } } // If ServerSideChecksum is wanted for this object, it takes precedence // over opts.WantChecksum. if opts.WantServerSideChecksumType.IsSet() { serverSideChecksum := r.RawServerSideChecksumResult() if serverSideChecksum != nil { fi.Checksum = serverSideChecksum.AppendTo(nil, nil) if opts.EncryptFn != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0)