MCPcopy
hub / github.com/opencontainers/runc / Run

Method Run

libcontainer/configs/config.go:539–539  ·  view source on GitHub ↗

Run executes the hook with the provided state.

(*specs.State)

Source from the content-addressed store, hash-verified

537type Hook interface {
538 // Run executes the hook with the provided state.
539 Run(*specs.State) error
540}
541
542// NewFunctionHook will call the provided function when the hook is run.

Callers 15

runMethod · 0.65
mainFunction · 0.65
testTransitionsFunction · 0.65
criuNotificationsMethod · 0.65
Example_containerFunction · 0.65
startMethod · 0.65
InitMethod · 0.65
prepareRootfsFunction · 0.65
startMethod · 0.65
runPoststopHooksFunction · 0.65
TestFuncHookRunFunction · 0.65
TestCommandHookRunFunction · 0.65

Implementers 4

Containerlibcontainer/container_linux.go
unserializableHooklibcontainer/factory_linux_test.go
FuncHooklibcontainer/configs/config.go
Commandlibcontainer/configs/config.go

Calls

no outgoing calls

Tested by 15

testTransitionsFunction · 0.52
Example_containerFunction · 0.52
TestFuncHookRunFunction · 0.52
TestCommandHookRunFunction · 0.52
TestToCPUSetFunction · 0.52
TestValidateIDMapMountsFunction · 0.52
TestValidateNetDevicesFunction · 0.52
TestDevValidNameFunction · 0.52
TestValidateIntelRdtFunction · 0.52
runContainerFunction · 0.52
TestEnterFunction · 0.52