Documentation ¶
Overview ¶
Package docker package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobDispatcher ¶
type JobDispatcher struct {
// contains filtered or unexported fields
}
JobDispatcher uses the local docker api to dispatch jobs
func (*JobDispatcher) DispatchJob ¶
func (j *JobDispatcher) DispatchJob(ctx context.Context, jobID string, token string) (string, error)
DispatchJob will start a docker container to execute the job
Click to show internal directories.
Click to hide internal directories.