MCPcopy
hub / github.com/loft-sh/devpod / Runner

Interface Runner

pkg/devcontainer/run.go:26–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24)
25
26type 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
49func NewRunner(
50 agentPath, agentDownloadURL string,

Callers 32

devPodUpProxyMethod · 0.65
StartContainerFunction · 0.65
devPodUpMethod · 0.65
file_tunnel_proto_initFunction · 0.65
RunMethod · 0.65
startDevContainerFunction · 0.65
RunMethod · 0.65
runInitializeCommandFunction · 0.65
PatchEtcProfileFunction · 0.65
runFunction · 0.65

Implementers 1

runnerpkg/devcontainer/run.go

Calls

no outgoing calls

Tested by

no test coverage detected