Encapsulates a job
Definition at line 130 of file dockerjob.py.
◆ __init__()
def python_utils.dockerjob.DockerJob.__init__ |
( |
|
self, |
|
|
|
spec |
|
) |
| |
◆ ip_address()
def python_utils.dockerjob.DockerJob.ip_address |
( |
|
self | ) |
|
◆ is_running()
def python_utils.dockerjob.DockerJob.is_running |
( |
|
self | ) |
|
Polls a job and returns True if given job is still running.
Definition at line 157 of file dockerjob.py.
◆ kill()
def python_utils.dockerjob.DockerJob.kill |
( |
|
self, |
|
|
|
suppress_failure = False |
|
) |
| |
Sends kill signal to the container.
Definition at line 151 of file dockerjob.py.
◆ mapped_port()
def python_utils.dockerjob.DockerJob.mapped_port |
( |
|
self, |
|
|
|
port |
|
) |
| |
◆ wait_for_healthy()
def python_utils.dockerjob.DockerJob.wait_for_healthy |
( |
|
self, |
|
|
|
timeout_seconds |
|
) |
| |
◆ _container_name
python_utils.dockerjob.DockerJob._container_name |
|
private |
◆ _job
python_utils.dockerjob.DockerJob._job |
|
private |
◆ _spec
python_utils.dockerjob.DockerJob._spec |
|
private |
The documentation for this class was generated from the following file: