Documentation ¶
Rendered for windows/amd64
Index ¶
- func Create(ctx context.Context, tb testing.TB, vm *uvm.UtilityVM, spec *specs.Spec, ...) (c cow.Container, r *resources.Resources, _ func())
- func Kill(ctx context.Context, tb testing.TB, c cow.Container)
- func Start(ctx context.Context, tb testing.TB, c cow.Container, io *testcmd.BufferedIO) *cmd.Cmd
- func StartWithSpec(ctx context.Context, tb testing.TB, c cow.Container, p *specs.Process, ...) *cmd.Cmd
- func Wait(_ context.Context, tb testing.TB, c cow.Container)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create( ctx context.Context, tb testing.TB, vm *uvm.UtilityVM, spec *specs.Spec, name, owner string, ) (c cow.Container, r *resources.Resources, _ func())
a test version of the container creation logic in: cmd\containerd-shim-runhcs-v1\task_hcs.go:createContainer
func Start ¶
for starting an LCOW container, where no process spec is passed
see:
- github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/exec_hcs.go: (*hcsExec).startInternal
- github.com/Microsoft/hcsshim/cmd/internal/cmd/cmd.go: (*Cmd).Start
func StartWithSpec ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.