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

Method removeRuntime

internal/control/service.go:545–550  ·  view source on GitHub ↗
(containerID string)

Source from the content-addressed store, hash-verified

543}
544
545func (s Service) removeRuntime(containerID string) error {
546 if s.Driver != nil {
547 return s.Driver.Remove(context.Background(), containerID)
548 }
549 return fmt.Errorf("runtime driver is required")
550}
551
552func (s Service) setContainerCPUProfile(runID, sessionID, containerID, profile string) error {
553 weight, normalized, err := cpuWeightForProfile(profile)

Callers 1

RemoveSessionMethod · 0.95

Calls 1

RemoveMethod · 0.65

Tested by

no test coverage detected