(req runtimeplane.CreateSessionRequest)
| 519 | } |
| 520 | |
| 521 | func (s Service) createRuntimeSession(req runtimeplane.CreateSessionRequest) (string, error) { |
| 522 | if s.Driver != nil { |
| 523 | return s.Driver.CreateSession(context.Background(), req) |
| 524 | } |
| 525 | return "", fmt.Errorf("runtime driver is required") |
| 526 | } |
| 527 | |
| 528 | func (s Service) execRuntime(containerID string, command []string, stream bool, stdout, stderr io.Writer) (runtimeplane.ExecResult, error) { |
| 529 | if s.Driver != nil { |
no test coverage detected