- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 164 for _new (0.2 sec)
-
internal/kms/stub.go
matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy}) } } return matches, "", nil } // CreateKey creates a new key with the given name. func (s *StubKMS) CreateKey(_ context.Context, req *CreateKeyRequest) error { if s.containsKeyName(req.Name) { return ErrKeyExists } s.KeyNames = append(s.KeyNames, req.Name) return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/sts/ldap.go
fmt.Println("SecretAccessKey:", v.SecretAccessKey) fmt.Println("SessionToken:", v.SessionToken) return } // Use generated credentials to authenticate with MinIO server minioClient, err := minio.New(stsEndpointURL.Host, opts) if err != nil { log.Fatalf("Error initializing client: %v", err) } // Use minIO Client object normally like the regular client. if bucketToList == "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 4K bytes - Viewed (0) -
internal/s3select/parquet/reader.go
case ts.Unit.IsSetMILLIS(): duration = time.Duration(val) * time.Millisecond case ts.Unit.IsSetMICROS(): duration = time.Duration(val) * time.Microsecond default: return nil, errors.New("Invalid LogicalType annotation found") } value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration)) } } else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MILLIS {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 4.5K bytes - Viewed (0) -
cmd/erasure-metadata.go
func objectPartIndexNums(parts []int, partNumber int) int { for i, part := range parts { if part != 0 && partNumber == part { return i } } return -1 } // AddObjectPart - add a new object part in order. func (fi *FileInfo) AddObjectPart(partNumber int, partETag string, partSize, actualSize int64, modTime time.Time, idx []byte, checksums map[string]string) { partInfo := ObjectPartInfo{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
cmd/bucket-replication-metrics.go
startTime time.Time // Start time for window expMovingAvg float64 // Previously calculated exponential moving average } // newRateMeasurement creates a new instance of the measurement with the initial start time. func newRateMeasurement(initTime time.Time) *rateMeasurement { return &rateMeasurement{ startTime: initTime, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0) -
cmd/server-startup-msg.go
} ip := net.ParseIP(h) return ip.To16() != nil && ip.To4() == nil } // strip api endpoints list with standard ports such as // port "80" and "443" before displaying on the startup // banner. Returns a new list of API endpoints. func stripStandardPorts(apiEndpoints []string, host string) (newAPIEndpoints []string) { if len(apiEndpoints) == 1 { return apiEndpoints } newAPIEndpoints = make([]string, len(apiEndpoints))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 23 14:11:35 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/site-replication/run-multi-site-minio-idp.sh
./mc admin policy create minio1 rw ./docs/site-replication/rw.json sleep 5 ./mc admin policy info minio2 rw >/dev/null 2>&1 ./mc admin replicate status minio1 ## Add a new empty site ./mc admin replicate add minio1 minio2 minio3 sleep 10 ./mc admin policy info minio3 rw >/dev/null 2>&1 ./mc admin policy remove minio3 rw ./mc admin replicate status minio3
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/admin-handlers-users.go
// reject password change requests. writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL) return } // Check if accessKey has beginning and end space characters, this only applies to new users. if !exists && hasSpaceBE(accessKey) { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL) return } if !utf8.ValidString(accessKey) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
cmd/object-api-options.go
Bucket: bucket, Object: object, Err: err, } } opts.VersionID = vid opts.Versioned = versioned opts.VersionSuspended = versionSuspended // For directory objects skip creating new versions. if isDirObject(object) && vid == "" { opts.VersionID = nullVersionID } return opts, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 14.4K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "AllTierStats") return } z.AllTierStats = nil } else { if z.AllTierStats == nil { z.AllTierStats = new(allTierStats) } err = z.AllTierStats.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "AllTierStats") return } } zb0001Mask |= 0x1 case "c":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 75K bytes - Viewed (0)