MCPcopy
hub / github.com/lxc/incus / Exec

Method Exec

internal/server/instance/instance_interface.go:136–136  ·  view source on GitHub ↗
(req api.InstanceExecPost, stdin *os.File, stdout *os.File, stderr *os.File)

Source from the content-addressed store, hash-verified

134 // Console - Allocate and run a console tty or a spice Unix socket.
135 Console(protocol string) (*os.File, chan error, error)
136 Exec(req api.InstanceExecPost, stdin *os.File, stdout *os.File, stderr *os.File) (Cmd, error)
137
138 // Status
139 Render() (any, any, error)

Callers 15

ReplaceDaemonFunction · 0.65
storageVolumeConfigAddFunction · 0.65
storageVolumeConfigClearFunction · 0.65
ReplaceRaftNodesMethod · 0.65
UpdateWarningStatusMethod · 0.65
UpdateWarningStateMethod · 0.65
createWarningMethod · 0.65

Calls

no outgoing calls

Tested by 15

addContainerFunction · 0.52
addContainerConfigFunction · 0.52
addContainerDeviceFunction · 0.52
addInstanceSnapshotFunction · 0.52
TestNodeIsEmpty_ImagesFunction · 0.52
TestGetCandidateMembersFunction · 0.52