Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Goff (0.19 sec)

  1. internal/bucket/object/lock/lock.go

    // LegalHoldStatus - object legal hold status.
    type LegalHoldStatus string
    
    const (
    	// LegalHoldOn - legal hold is on.
    	LegalHoldOn LegalHoldStatus = "ON"
    
    	// LegalHoldOff - legal hold is off.
    	LegalHoldOff LegalHoldStatus = "OFF"
    )
    
    // Valid - returns true if legal hold status has valid values
    func (l LegalHoldStatus) Valid() bool {
    	switch l {
    	case LegalHoldOn, LegalHoldOff:
    		return true
    	}
    	return false
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock_test.go

    	tests := []struct {
    		value          string
    		expectedStatus LegalHoldStatus
    	}{
    		{
    			value:          "ON",
    			expectedStatus: LegalHoldOn,
    		},
    		{
    			value:          "Off",
    			expectedStatus: LegalHoldOff,
    		},
    		{
    			value:          "x",
    			expectedStatus: "",
    		},
    	}
    
    	for _, tt := range tests {
    		actualStatus := parseLegalHoldStatus(tt.value)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. internal/config/config.go

    	}
    }
    
    // WriteTo writes the string representation of the configuration to the given
    // builder. When off is true, adds a comment character before the config system
    // output. It also ignores values when empty and deprecated.
    func (cs *SubsysInfo) WriteTo(b *strings.Builder, off bool) {
    	cs.AddEnvString(b)
    	if off {
    		b.WriteString(KvComment)
    		b.WriteString(KvSpaceSeparator)
    	}
    	b.WriteString(cs.SubSys)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		d.deleteRecursive(path)
    		d.replaceHashed(path, nil, *flat)
    		return
    	}
    	total := d.totalChildrenRec(path.Key())
    	if total < limit {
    		return
    	}
    
    	// Appears to be printed with _MINIO_SERVER_DEBUG=off
    	// console.Debugf(" %d children found, compacting %v\n", total, path)
    
    	leaves := make([]struct {
    		objects uint64
    		path    dataUsageHash
    	}, total)
    	// Collect current leaves that have children.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

    	ErrorLevel:    "error",
    	CriticalLevel: "critical",
    	OffLevel:      "off",
    }
    
    var stringToLevel = map[string]Level{
    	"trace":    TraceLevel,
    	"debug":    DebugLevel,
    	"info":     InfoLevel,
    	"warning":  WarningLevel,
    	"warn":     WarningLevel,
    	"error":    ErrorLevel,
    	"critical": CriticalLevel,
    	"off":      OffLevel,
    }
    
    var (
    	loggerLevelString = ""
    	reset             = false
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    	return dm.lockBlocking(ctx, cancel, id, source, isReadLock, opts)
    }
    
    // lockBlocking will try to acquire either a read or a write lock
    //
    // The function will loop using a built-in timing randomized back-off
    // algorithm until either the lock is acquired successfully or more
    // time has elapsed than the timeout value.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    	Retention lock.Retention `msg:"-"`
    
    	// Replication configuration
    	Replication replicationConfig `msg:"-"`
    
    	// StopDiskAtLimit will stop listing on each disk when limit number off objects has been returned.
    	StopDiskAtLimit bool
    
    	// pool and set of where the cache is located.
    	pool, set int
    }
    
    func init() {
    	gob.Register(listPathOptions{})
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. misc/ios/go_ios_exec.go

    		return "", errors.New("failed to parse ideviceinfo output")
    	}
    	verSplit := strings.Split(iosVer, ".")
    	if len(verSplit) > 2 {
    		// Developer images are specific to major.minor ios version.
    		// Cut off the patch version.
    		iosVer = strings.Join(verSplit[:2], ".")
    	}
    	sdkBase := "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    				PartNumber: part.PartNumber,
    				GotETag:    part.ETag,
    			}
    			return oi, invp
    		}
    		expPart := currentFI.Parts[partIdx]
    
    		// ensure that part ETag is canonicalized to strip off extraneous quotes
    		part.ETag = canonicalizeETag(part.ETag)
    		expETag := tryDecryptETag(objectEncryptionKey, expPart.ETag, kind == crypto.S3)
    		if expETag != part.ETag {
    			invp := InvalidPart{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    	c.mustListObjects(ctx, svcClient2, bucket)
    
    	// update status to disabled
    	err = madmClient.UpdateServiceAccount(ctx, svcAK, madmin.UpdateServiceAccountReq{
    		NewStatus: "off",
    	})
    	if err != nil {
    		c.Fatalf("unable to update secret key for svc acc: %v", err)
    	}
    	c.mustNotListObjects(ctx, svcClient2, bucket)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top