kubernetesk8s.io/kubernetes/cmd/kubeadm/app/util/users Index | Files

package users

import "k8s.io/kubernetes/cmd/kubeadm/app/util/users"

Index

Functions

func RemoveUsersAndGroups

func RemoveUsersAndGroups() error

RemoveUsersAndGroups is a NO-OP on non-Linux.

func UpdatePathOwner

func UpdatePathOwner(dirPath string, uid, gid int64) error

UpdatePathOwner is a NO-OP on non-Linux.

func UpdatePathOwnerAndPermissions

func UpdatePathOwnerAndPermissions(path string, uid, gid int64, perms uint32) error

UpdatePathOwnerAndPermissions is a NO-OP on non-Linux.

Types

type EntryMap

type EntryMap struct{}

EntryMap is empty on non-Linux.

func (*EntryMap) ID

func (*EntryMap) ID(string) *int64

ID is a NO-OP on non-Linux.

func (*EntryMap) String

func (*EntryMap) String() string

String is NO-OP on non-Linux.

type UsersAndGroups

type UsersAndGroups struct{}

UsersAndGroups is empty on non-Linux.

func AddUsersAndGroups

func AddUsersAndGroups() (*UsersAndGroups, error)

AddUsersAndGroups is a NO-OP on non-Linux.

Source Files

users_other.go

Version
v1.33.2 (latest)
Published
Jun 17, 2025
Platform
js/wasm
Last checked
1 hour ago

Tools for package owners.