Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct { Host string `json:"host"` WorkerID string `json:"worker_id"` ContainerID string `json:"container_id"` PipelineRunID string `json:"pipeline_run_id"` }
Worker represents the data structure of a docker worker.
func NewDockerWorker ¶
NewDockerWorker initiates a new worker instance.
func (*Worker) IsDockerWorkerRunning ¶
IsDockerWorkerRunning checks if the docker worker is running.
func (*Worker) KillDockerWorker ¶
KillDockerWorker disconnects the existing docker worker and kills the docker container.
Click to show internal directories.
Click to hide internal directories.