MCPcopy Create free account
hub / github.com/eth-easl/dirigent / createVMCS

Method createVMCS

internal/worker_node/sandbox/firecracker/runtime.go:102–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102func (fcr *Runtime) createVMCS() *VMControlStructure {
103 return &VMControlStructure{
104 Context: context.Background(),
105
106 KernelPath: fcr.KernelPath,
107 FileSystemPath: fcr.FileSystemPath,
108
109 SandboxID: fmt.Sprintf("firecracker-%d", fcr.idGenerator.Int()),
110 }
111}
112
113func createMetadata(in *proto.ServiceInfo, vmcs *VMControlStructure) *managers.Metadata {
114 return &managers.Metadata{

Callers 1

CreateSandboxMethod · 0.95

Calls 1

IntMethod · 0.80

Tested by

no test coverage detected