Versions in this module Expand all Collapse all v0 v0.1.0 May 9, 2024 Changes in this version + func IsDockerNative() bool + func IsPodman() bool + func ToUnixPath(path string) string + type Container struct + Capabilities []string + Command string + CommandShell string + ContainerPorts []ContainerPort + Entrypoint *string + Environment []EnvironmentProperty + Image string + Interactive bool + Name string + Privileged bool + TTY bool + User string + UserArgs string + Volumes []ContainerMount + WorkingDirectory string + func Create() Container + func (c *Container) AddAllEnvironmentVariables() + func (c *Container) AddCacheMount(name string, sourcePath string, targetPath string) + func (c *Container) AddContainerPorts(ports []string) + func (c *Container) AddEnvironmentVariable(name string, value string) + func (c *Container) AddEnvironmentVariables(variables []string) + func (c *Container) AddVolume(mount ContainerMount) + func (c *Container) AllowContainerRuntimeAcccess() + func (c *Container) AutoTerminalParameters() + func (c *Container) DetectRuntime() string + func (c *Container) GetDockerCommand() string + func (c *Container) GetPodmanCommand() string + func (c *Container) GetPullCommand(runtime string) (string, error) + func (c *Container) GetRunCommand(runtime string) (string, error) + func (c *Container) PullImage() error + func (c *Container) StartContainer() error + type ContainerMount struct + Mode MountMode + MountType string + Source string + Target string + type ContainerPort struct + Source int + Target int + type EnvironmentProperty struct + Name string + Value string + type MountMode string + const ReadMode + const WriteMode