| 24 | ) |
| 25 | |
| 26 | type Runner interface { |
| 27 | Up(ctx context.Context, options UpOptions, timeout time.Duration) (*config.Result, error) |
| 28 | |
| 29 | Build(ctx context.Context, options provider2.BuildOptions) (string, error) |
| 30 | |
| 31 | Find(ctx context.Context) (*config.ContainerDetails, error) |
| 32 | |
| 33 | Command( |
| 34 | ctx context.Context, |
| 35 | user string, |
| 36 | command string, |
| 37 | stdin io.Reader, |
| 38 | stdout io.Writer, |
| 39 | stderr io.Writer, |
| 40 | ) error |
| 41 | |
| 42 | Stop(ctx context.Context) error |
| 43 | |
| 44 | Delete(ctx context.Context) error |
| 45 | |
| 46 | Logs(ctx context.Context, writer io.Writer) error |
| 47 | } |
| 48 | |
| 49 | func NewRunner( |
| 50 | agentPath, agentDownloadURL string, |
no outgoing calls
no test coverage detected