Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddUsersAndGroups (0.11 sec)

  1. cmd/kubeadm/app/util/users/users_linux.go

    		lines = append(lines, fmt.Sprintf("%s{%d,%d};", k, e.id, e.gid))
    	}
    	sort.Strings(lines)
    	return strings.Join(lines, "")
    }
    
    // AddUsersAndGroups is a public wrapper around addUsersAndGroupsImpl with default system file paths.
    func AddUsersAndGroups() (*UsersAndGroups, error) {
    	return addUsersAndGroupsImpl(fileEtcLoginDefs, fileEtcPasswd, fileEtcGroup)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/staticpod/utils.go

    // in a thread safe way once.
    func GetUsersAndGroups() (*users.UsersAndGroups, error) {
    	var err error
    	usersAndGroupsOnce.Do(func() {
    		usersAndGroups, err = users.AddUsersAndGroups()
    	})
    	return usersAndGroups, err
    }
    
    // DeepHashObject writes specified object to hash using the spew library
    // which follows pointers and prints actual values of the nested objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top