Documentation ¶
Index ¶
- type ContainerFactory
- type ContainerManager
- type HCSQuery
- type IO
- type Mounter
- type ProcessWrapper
- type Runtime
- func (r *Runtime) Create(containerId, bundlePath string) error
- func (r *Runtime) Delete(containerId string, force bool) error
- func (r *Runtime) Events(containerId string, output io.Writer, showStats bool) error
- func (r *Runtime) Exec(containerId, processConfigFile, pidFile string, ...) (int, error)
- func (r *Runtime) Run(containerId, bundlePath, pidFile string, io IO, detach bool) (int, error)
- func (r *Runtime) Start(containerId, pidFile string) error
- func (r *Runtime) State(containerId string, output io.Writer) error
- type StateFactory
- type StateManager
- type WrappedProcess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerFactory ¶
type ContainerManager ¶
type HCSQuery ¶
type HCSQuery interface {
GetContainers(hcsshim.ComputeSystemQuery) ([]hcsshim.ContainerProperties, error)
}
type ProcessWrapper ¶
type ProcessWrapper interface {
Wrap(hcs.Process) WrappedProcess
}
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func New ¶
func New(s StateFactory, c ContainerFactory, m Mounter, h HCSQuery, p ProcessWrapper, rootDir, credentialSpecPath string) *Runtime
type StateFactory ¶
type StateFactory interface {
NewManager(*logrus.Entry, *hcs.Client, *winsyscall.WinSyscall, string, string) StateManager
}
type StateManager ¶
Click to show internal directories.
Click to hide internal directories.