Versions in this module Expand all Collapse all v0 v0.12.4 May 16, 2024 Changes in this version + func Create(ctx context.Context, id string, s *specs.Spec, createOpts CreateOptions) (_ cow.Container, _ *resources.Resources, err error) — windows/amd64 + type CreateOptions struct — windows/amd64 + WCOWLayers layers.WCOWLayers + type JobContainer struct — windows/amd64 + func (c *JobContainer) Close() error + func (c *JobContainer) CreateProcess(ctx context.Context, config interface{}) (_ cow.Process, err error) + func (c *JobContainer) ID() string + func (c *JobContainer) IsOCI() bool + func (c *JobContainer) Modify(ctx context.Context, config interface{}) (err error) + func (c *JobContainer) OS() string + func (c *JobContainer) Properties(ctx context.Context, types ...schema1.PropertyType) (*schema1.ContainerProperties, error) + func (c *JobContainer) PropertiesV2(ctx context.Context, types ...hcsschema.PropertyType) (*hcsschema.Properties, error) + func (c *JobContainer) Shutdown(ctx context.Context) error + func (c *JobContainer) Start(ctx context.Context) error + func (c *JobContainer) Terminate(ctx context.Context) error + func (c *JobContainer) Wait() error + func (c *JobContainer) WaitChannel() <-chan struct{} + func (c *JobContainer) WaitError() error + type JobProcess struct — windows/amd64 + func (p *JobProcess) Close() error + func (p *JobProcess) CloseStderr(ctx context.Context) error + func (p *JobProcess) CloseStdin(ctx context.Context) error + func (p *JobProcess) CloseStdout(ctx context.Context) error + func (p *JobProcess) ExitCode() (int, error) + func (p *JobProcess) Kill(ctx context.Context) (bool, error) + func (p *JobProcess) Pid() int + func (p *JobProcess) ResizeConsole(ctx context.Context, width, height uint16) error + func (p *JobProcess) Signal(ctx context.Context, options interface{}) (bool, error) + func (p *JobProcess) Start() error + func (p *JobProcess) Stdio() (io.Writer, io.Reader, io.Reader) + func (p *JobProcess) Wait() error