- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 729 for BOOL (0.19 sec)
-
internal/config/dns/types.go
Port json.Number `json:"port,omitempty"` Priority int `json:"priority,omitempty"` Weight int `json:"weight,omitempty"` Text string `json:"text,omitempty"` Mail bool `json:"mail,omitempty"` // Be an MX record. Priority becomes Preference. TTL uint32 `json:"ttl,omitempty"` // Holds info about when the entry was created first. CreationDate time.Time `json:"creationDate"`
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2K bytes - Viewed (0) -
internal/rest/client_test.go
package rest import ( "errors" "net" "net/url" "testing" ) func TestNetworkError_Unwrap(t *testing.T) { tests := []struct { name string err error target any want bool }{ { name: "url.Error", err: &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")}, target: &url.Error{}, want: true, }, { name: "net.Error",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/bucket-object-lock.go
// object according to locking configuration when this is lifecycle/ bucket quota asking. func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) { if objInfo.DeleteMarker { return false } lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined) if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn { return true }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 08 02:38:25 UTC 2025 - 13.3K bytes - Viewed (0) -
cmd/bucket-stats.go
return &BucketReplicationStats{ Stats: make(map[string]*BucketReplicationStat), } } // Empty returns true if there are no target stats func (brs *BucketReplicationStats) Empty() bool { return len(brs.Stats) == 0 && brs.ReplicaSize == 0 } // Clone creates a new BucketReplicationStats copy func (brs BucketReplicationStats) Clone() (c BucketReplicationStats) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 13.5K bytes - Viewed (0) -
docs/debugging/inspect/export.go
"io" "os" "strings" "time" json "github.com/minio/colorjson" "github.com/klauspost/compress/zip" "github.com/tinylib/msgp/msgp" ) func inspectToExportType(downloadPath string, datajson bool) error { decode := func(r io.Reader, file string) ([]byte, error) { b, e := io.ReadAll(r) if e != nil { return nil, e } b, _, minor, e := checkXL2V1(b) if e != nil { return nil, e }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.2K bytes - Viewed (1) -
internal/jwt/parser.go
func (c *MapClaims) Delete(key string) { if c == nil { return } delete(c.MapClaims, key) } // Lookup returns the value and if the key is found. func (c *MapClaims) Lookup(key string) (value string, ok bool) { if c == nil { return "", false } var vinterface any vinterface, ok = c.MapClaims[key] if ok { value, ok = vinterface.(string) } return value, ok }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.1K bytes - Viewed (0) -
cmd/peer-s3-server.go
} } healBuckets.Range(func(_ string, volInfo VolInfo) bool { bi := BucketInfo{ Name: volInfo.Name, Created: volInfo.Created, } if vi, ok := deletedBuckets.Load(volInfo.Name); ok { bi.Deleted = vi.Created } buckets = append(buckets, bi) return true }) deletedBuckets.Range(func(_ string, v VolInfo) bool { if _, ok := healBuckets.Load(v.Name); !ok {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
docs/sts/ldap.go
) var ( // LDAP integrated Minio endpoint stsEndpoint string // LDAP credentials ldapUsername string ldapPassword string // Display credentials flag displayCreds bool // Credential expiry duration expiryDuration time.Duration // Bucket to list bucketToList string // Session policy file sessionPolicyFile string ) func init() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 4K bytes - Viewed (0) -
internal/bucket/replication/rule_test.go
package replication import ( "bytes" "fmt" "testing" ) func TestMetadataReplicate(t *testing.T) { testCases := []struct { inputConfig string opts ObjectOpts expectedResult bool }{ // case 1 - rule with replica modification enabled; not a replica {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.6K bytes - Viewed (0) -
internal/ioutil/ioutil.go
// // This can be useful within the context of HTTP. At least // one write operation must happen to send the HTTP headers // to the peer. type WriteOnCloser struct { io.Writer hasWritten bool } func (w *WriteOnCloser) Write(p []byte) (int, error) { w.hasWritten = true return w.Writer.Write(p) } // Close closes the WriteOnCloser. It behaves like io.Closer. func (w *WriteOnCloser) Close() error {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 11.1K bytes - Viewed (0)