windows

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DriverName = "Windows 1854"
	Version    = dockerversion.VERSION + " " + dockerversion.GITCOMMIT
)

Define name and version for windows

Functions

This section is empty.

Types

type Driver added in v1.9.0

type Driver struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Driver contains all information for windows driver, it implements execdriver.Driver

func NewDriver

func NewDriver(root, initPath string, options []string) (*Driver, error)

NewDriver returns a new windows driver, called from NewDriver of execdriver.

func (*Driver) Clean added in v1.9.0

func (d *Driver) Clean(id string) error

Clean implements the exec driver Driver interface.

func (*Driver) Exec added in v1.9.0

func (d *Driver) Exec(c *execdriver.Command, processConfig *execdriver.ProcessConfig, pipes *execdriver.Pipes, hooks execdriver.Hooks) (int, error)

Exec implements the exec driver Driver interface.

func (*Driver) GetPidsForContainer added in v1.9.0

func (d *Driver) GetPidsForContainer(id string) ([]int, error)

GetPidsForContainer implements the exec driver Driver interface.

func (*Driver) Info added in v1.9.0

func (d *Driver) Info(id string) execdriver.Info

Info implements the exec driver Driver interface.

func (*Driver) Kill added in v1.9.0

func (d *Driver) Kill(p *execdriver.Command, sig int) error

Kill implements the exec driver Driver interface.

func (*Driver) Name added in v1.9.0

func (d *Driver) Name() string

Name implements the exec driver Driver interface.

func (*Driver) Pause added in v1.9.0

func (d *Driver) Pause(c *execdriver.Command) error

Pause implements the exec driver Driver interface.

func (*Driver) Run added in v1.9.0

Run implements the exec driver Driver interface

func (*Driver) Stats added in v1.9.0

func (d *Driver) Stats(id string) (*execdriver.ResourceStats, error)

Stats implements the exec driver Driver interface.

func (*Driver) SupportsHooks added in v1.9.0

func (d *Driver) SupportsHooks() bool

SupportsHooks implements the execdriver Driver interface. The windows driver does not support the hook mechanism

func (*Driver) Terminate added in v1.9.0

func (d *Driver) Terminate(p *execdriver.Command) error

Terminate implements the exec driver Driver interface.

func (*Driver) Unpause added in v1.9.0

func (d *Driver) Unpause(c *execdriver.Command) error

Unpause implements the exec driver Driver interface.

type StdConsole added in v1.8.0

type StdConsole struct {
}

StdConsole is for when using a container non-interactively

func NewStdConsole added in v1.8.0

func NewStdConsole() *StdConsole

NewStdConsole returns a new StdConsole struct.

func (*StdConsole) Close added in v1.8.0

func (s *StdConsole) Close() error

Close implements Close method of Terminal interface.

func (*StdConsole) Resize added in v1.8.0

func (s *StdConsole) Resize(h, w int) error

Resize implements Resize method of Terminal interface.

type TtyConsole added in v1.8.0

type TtyConsole struct {
	// contains filtered or unexported fields
}

TtyConsole implements the exec driver Terminal interface.

func NewTtyConsole added in v1.8.0

func NewTtyConsole(id string, processid uint32) *TtyConsole

NewTtyConsole returns a new TtyConsole struct.

func (*TtyConsole) Close added in v1.8.0

func (t *TtyConsole) Close() error

Close implements Close method of Terminal interface.

func (*TtyConsole) Resize added in v1.8.0

func (t *TtyConsole) Resize(h, w int) error

Resize implements Resize method of Terminal interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL