MCPcopy Create free account
hub / github.com/ByteYellow/AgentProvenance / createRuntimeSession

Method createRuntimeSession

internal/control/service.go:521–526  ·  view source on GitHub ↗
(req runtimeplane.CreateSessionRequest)

Source from the content-addressed store, hash-verified

519}
520
521func (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
528func (s Service) execRuntime(containerID string, command []string, stream bool, stdout, stderr io.Writer) (runtimeplane.ExecResult, error) {
529 if s.Driver != nil {

Callers 3

CreateSessionMethod · 0.95
ResumeSnapshotMethod · 0.95

Calls 1

CreateSessionMethod · 0.65

Tested by

no test coverage detected