config

package
v0.0.0-...-c02f8be Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DOCKER_SOCKET_PATH = "/var/run/docker.sock"
)

Variables

This section is empty.

Functions

func AddGroups

func AddGroups() []user.Group

func AddGroupsFinal

func AddGroupsFinal() []user.Group

func AddUserGroups

func AddUserGroups() bool

func AddUserGroupsExcept

func AddUserGroupsExcept() []string

func Args

func Args() []string

func BinName

func BinName() string

func CPUs

func CPUs() string

func CPUsDefault

func CPUsDefault() string

func CapAdd

func CapAdd() []string

func CapDrop

func CapDrop() []string

func Cmd

func Cmd() string

func CmdAndArgs

func CmdAndArgs() []string

func CustomWorkingDirVolume

func CustomWorkingDirVolume() bool

func Debug

func Debug() bool

func Docker

func Docker() string

func DockerSocketIsWritable

func DockerSocketIsWritable() bool

func DryRun

func DryRun() bool

func Env

func Env() map[string]string

func EnvPrefix

func EnvPrefix() string

func GID

func GID() string

func Group

func Group() string

func Groups

func Groups() []user.Group

func HomeDir

func HomeDir() string

func Image

func Image() string

func InDockerGroup

func InDockerGroup() bool

func Interactive

func Interactive() bool

func IsInLimit

func IsInLimit(workDir string) bool

func Limit

func Limit() []string

func LimitString

func LimitString() string

func MakeSSHAuthSockAccessible

func MakeSSHAuthSockAccessible() bool

func Memory

func Memory() string

func MemoryReservation

func MemoryReservation() string

func MemoryReservationDefault

func MemoryReservationDefault() string

func MountSSHKnownHosts

func MountSSHKnownHosts() bool

func Network

func Network() string

func Podman

func Podman() string

func PrintConfig

func PrintConfig(w io.Writer)

func ReadOnlyRoot

func ReadOnlyRoot() bool

func SELinuxEnabled

func SELinuxEnabled() bool

func SSHAuthSock

func SSHAuthSock() string

func Shell

func Shell() string

func Sudo

func Sudo() string

func TTY

func TTY() bool

func Tmp

func Tmp() string

func Tool

func Tool() []string

func ToolArgs

func ToolArgs() []string

func ToolName

func ToolName() string

func UID

func UID() string

func User

func User() string

func Volumes

func Volumes() []container.Volume

func WorkDir

func WorkDir() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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