Versions in this module Expand all Collapse all v2 v2.2.10 Mar 8, 2024 Changes in this version + func GetPrivadoDockerAccessKey(pullImage bool) (string, error) + func PullLatestImage(image string, client *client.Client) (err error) + func RemoveContainerForcefully(client *client.Client, ctx context.Context, containerId string) error + func RunImage(opts ...RunImageOption) error + func StopContainer(client *client.Client, ctx context.Context, containerId string) error + func WaitForContainer(client *client.Client, ctx context.Context, containerId string) error + type EnvVar struct + Key string + Value string + func GetEnvsFromDockerImage(imageURL string) ([]EnvVar, error) + type RunImageOption func(opts *runImageHandler) + func OptionWithArgs(args []string) RunImageOption + func OptionWithAttachedOutput() RunImageOption + func OptionWithAutoSpawnBrowserOnURLMessages(messages []string) RunImageOption + func OptionWithDebug(isDebug bool) RunImageOption + func OptionWithDisabledDeduplication(disableDeduplication bool) RunImageOption + func OptionWithDockerKeyVolume(volumeHost string) RunImageOption + func OptionWithEntrypoint(entrypoint []string) RunImageOption + func OptionWithEnvironmentVariables(envVars []EnvVar) RunImageOption + func OptionWithExitErrorMessages(messages []string) RunImageOption + func OptionWithExternalRulesVolume(volumeHost string) RunImageOption + func OptionWithIgnoreDefaultRules(ignoreDefaultRules bool) RunImageOption + func OptionWithInterrupt() RunImageOption + func OptionWithLatestImage(pullImage bool) RunImageOption + func OptionWithPackageCacheVolumes() RunImageOption + func OptionWithSkipDependencyDownload(skipDependencyDownload bool) RunImageOption + func OptionWithSourceVolume(volumeHost string) RunImageOption + func OptionWithUserConfigVolume(volumeHost string) RunImageOption + func OptionWithUserKeyVolume(volumeHost string) RunImageOption