Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultDockerRunWaitSeconds = 600
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerRunOptions ¶
type DockerRunOptions struct { Entrypoint []string WorkingDirectory string // Working directory for docker SpecSettings *cliflags.SpecFlagSettings // Setting for top level job spec fields. ResourceSettings *cliflags.ResourceUsageSettings // Settings for the jobs resource requirements. NetworkingSettings *cliflags.NetworkingFlagSettings // Settings for the jobs networking. DealSettings *cliflags.DealFlagSettings // Settings for the jobs deal. RunTimeSettings *cliflags.RunTimeSettingsWithDownload // Settings for running the job. DownloadSettings *cliflags.DownloaderSettings // Settings for running Download. }
DockerRunOptions declares the arguments accepted by the `docker run` command
func NewDockerRunOptions ¶
func NewDockerRunOptions() *DockerRunOptions
Click to show internal directories.
Click to hide internal directories.