package windows
import "github.com/moby/buildkit/util/windows"
Index ¶
- Constants
- func GetUserIdentFromContainer(ctx context.Context, exec executor.Executor, rootMounts []mount.Mount, userName string) (string, error)
- func ResolveUsernameToSID(ctx context.Context, exec executor.Executor, rootMount []mount.Mount, userName string) (string, error)
Constants ¶
const ( ContainerAdministratorSidString = "S-1-5-93-2-1" ContainerUserSidString = "S-1-5-93-2-2" )
Constants for well-known SIDs in the Windows container. These are currently undocumented. See https://github.com/moby/buildkit/pull/5791#discussion_r1976652227 for more information.
Functions ¶
func GetUserIdentFromContainer ¶
func GetUserIdentFromContainer(ctx context.Context, exec executor.Executor, rootMounts []mount.Mount, userName string) (string, error)
func ResolveUsernameToSID ¶
func ResolveUsernameToSID(ctx context.Context, exec executor.Executor, rootMount []mount.Mount, userName string) (string, error)
Source Files ¶
- Version
- v0.21.0-rc1
- Published
- Apr 9, 2025
- Platform
- windows/amd64
- Imports
- 10 packages
- Last checked
- 4 hours ago –
Tools for package owners.