Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for parent (0.31 sec)

  1. cmd/iam.go

    // policy is the role's policy.
    //
    // - inherited from parent - this is the case for AssumeRole API, where the
    // parent user is an actual real user with their own (permanent) credentials and
    // policy association.
    //
    // - inherited from "virtual" parent - this is the case for AssumeRoleWithLDAP
    // where the parent user is the DN of the actual LDAP user. The parent user
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. internal/grid/muxclient.go

    	Msg []byte
    	Err error
    }
    
    func newMuxClient(ctx context.Context, muxID uint64, parent *Connection) *muxClient {
    	ctx, cancelFn := context.WithCancelCause(ctx)
    	return &muxClient{
    		MuxID:     muxID,
    		ctx:       ctx,
    		cancelFn:  cancelFn,
    		parent:    parent,
    		LastPong:  time.Now().Unix(),
    		BaseFlags: parent.baseFlags,
    	}
    }
    
    // roundtrip performs a roundtrip, returning the first response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    			if len(c.expectedConfName) > 0 {
    				expectedFilepath = filepath.Join(tempDir, c.expectedConfName)
    			}
    
    			if !c.chainedCNIPlugin {
    				// Standalone CNI plugin
    				parent := context.Background()
    				ctx1, cancel := context.WithTimeout(parent, 100*time.Millisecond)
    				defer cancel()
    				result, err := getCNIConfigFilepath(ctx1, cfg)
    				if err != nil {
    					assert.Equal(t, result, "")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  4. cmd/os_unix.go

    	}
    	if len(buf) < int(dirent.Reclen) {
    		return consumed, nil, typ, fmt.Errorf("buf size %d < record length %d", len(buf), dirent.Reclen)
    	}
    	consumed = int(dirent.Reclen)
    	if direntInode(dirent) == 0 { // File absent in directory.
    		return
    	}
    	switch dirent.Type {
    	case syscall.DT_REG:
    		typ = 0
    	case syscall.DT_DIR:
    		typ = os.ModeDir
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		// For STS accounts a policy is mapped to the parent user (if a mapping exists).
    		err = store.loadMappedPolicy(ctx, cred.ParentUser, userType, false, cache.iamSTSPolicyMap)
    	case svcUser:
    		// For service accounts, the parent may be a regular (internal) IDP
    		// user or a "virtual" user (parent of an STS account).
    		//
    		// If parent is a regular user => policy mapping is done on that parent itself.
    		//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/common-main.go

    // Cancellation/timeouts are removed, so parent cancellations/timeout will
    // not propagate from parent.
    // Context values are preserved.
    // This can be used for goroutines that live beyond the parent context.
    func bgContext(parent context.Context) context.Context {
    	return bgCtx{parent: parent}
    }
    
    type bgCtx struct {
    	parent context.Context
    }
    
    func (a bgCtx) Done() <-chan struct{} {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. cmd/object-api-deleteobject_test.go

    		{
    			"bucket1",
    			[]objectUpload{{"object0", "content"}, {"object1", "content"}},
    			"object0",
    			[]string{"object1"},
    		},
    		// Test 2: remove an object inside a directory and checks it is deleted
    		// with its parent since this former becomes empty
    		{
    			"bucket2",
    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. internal/disk/stat_linux.go

    					break
    				}
    			}
    			if devName != "" {
    				info.Name = devName
    				qst, err := bfs.SysBlockDeviceQueueStats(devName)
    				if err != nil { // Mostly not found error
    					// Check if there is a parent device:
    					//   e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the
    					//        real device name (nvme0n1) to get its sysfs information
    					parentDevPath, e := os.Readlink("/sys/class/block/" + devName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_linux.go

    	if s1.Mode()&os.ModeSymlink != 0 {
    		return false
    	}
    
    	s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/")))
    	if err != nil {
    		return false
    	}
    
    	// If the directory has a different device as parent, then it is a mountpoint.
    	if s1.Sys().(*syscall.Stat_t).Dev != s2.Sys().(*syscall.Stat_t).Dev {
    		//  path/.. on a different device as path
    		return true
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    		}
    	}
    
    	erasure := fi.Erasure
    	for _, part := range fi.Parts {
    		checksumInfo := erasure.GetChecksumInfo(part.Number)
    		partPath := pathJoin(volumeDir, path, fi.DataDir, fmt.Sprintf("part.%d", part.Number))
    		if err := s.bitrotVerify(ctx, partPath,
    			erasure.ShardFileSize(part.Size),
    			checksumInfo.Algorithm,
    			checksumInfo.Hash, erasure.ShardSize()); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top