utils

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffSets added in v0.0.27

func DiffSets[T comparable](a, b map[T]struct{}) map[T]struct{}

func DropCapsToBuilderUser added in v0.0.28

func DropCapsToBuilderUser() error

func EnsureIsBuilderUser added in v0.0.27

func EnsureIsBuilderUser() error

func EscalateToRoot

func EscalateToRoot() error

func EscalateToRootGid

func EscalateToRootGid() error

func EscalateToRootUid

func EscalateToRootUid() error

func ForceGC added in v0.0.31

func ForceGC()

func GetUidGidBuilderUserString added in v0.0.27

func GetUidGidBuilderUserString() (string, string, error)

func GetUidGidStaplerUser

func GetUidGidStaplerUser() (int, int, error)

func IsBuilderUser added in v0.0.27

func IsBuilderUser() (bool, error)

func IsNotRoot

func IsNotRoot() bool

func IsRoot added in v0.0.27

func IsRoot() bool

func NoNewPrivs

func NoNewPrivs() error

func ToSet added in v0.0.27

func ToSet[T comparable](xs []T) map[T]struct{}

Types

This section is empty.

Source Files

  • cmd.go
  • prof.go
  • set.go
  • utils.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL