Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for firstName (0.2 sec)

  1. cmd/api-utils_test.go

    		{"p/", "url", "p/"},
    		{"p/", "url", "p/"},
    		{"~user", "url", "%7Euser"},
    		{"*user", "url", "*user"},
    		{"user+password", "url", "user%2Bpassword"},
    		{"_user", "url", "_user"},
    		{"firstname.lastname", "url", "firstname.lastname"},
    	}
    	for i, testCase := range testCases {
    		t.Run(fmt.Sprintf("Test%d", i+1), func(t *testing.T) {
    			outputText := s3EncodeName(testCase.inputText, testCase.encodingType)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  2. internal/disk/stat_linux.go

    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. cmd/iam.go

    	defer sys.Unlock()
    	return sys.store != nil
    }
    
    // Load - loads all credentials, policies and policy mappings.
    func (sys *IAMSys) Load(ctx context.Context, firstTime bool) error {
    	loadStartTime := time.Now()
    	err := sys.store.LoadIAMCache(ctx, firstTime)
    	if err != nil {
    		atomic.AddUint64(&sys.TotalRefreshFailures, 1)
    		return err
    	}
    	loadDuration := time.Since(loadStartTime)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/iam-store.go

    }
    
    // LoadIAMCache reads all IAM items and populates a new iamCache object and
    // replaces the in-memory cache object.
    func (store *IAMStoreSys) LoadIAMCache(ctx context.Context, firstTime bool) error {
    	bootstrapTraceMsg := func(s string) {
    		if firstTime {
    			bootstrapTraceMsg(s)
    		}
    	}
    	bootstrapTraceMsg("loading IAM data")
    
    	newCache := newIamCache()
    
    	loadedAt := time.Now()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top