Documentation ¶
Rendered for windows/amd64
Index ¶
- type Configuration
- type Container
- func (c *Container) AddProcess(ctx context.Context, id string, spec *specs.Process, io *IO) (*Process, error)
- func (c *Container) CloseIO(ctx context.Context) error
- func (c *Container) Delete(ctx context.Context)
- func (c *Container) ExitCode() (uint32, error)
- func (c *Container) GetConfiguration() Configuration
- func (c *Container) ID() string
- func (c *Container) Kill(ctx context.Context) error
- func (c *Container) Pid() uint32
- func (c *Container) Processes() []*Process
- func (c *Container) ResizePty(ctx context.Context, size runtime.ConsoleSize) error
- func (c *Container) Start(ctx context.Context) error
- func (c *Container) Stop(ctx context.Context) error
- type HCS
- type IO
- type Process
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { UseHyperV bool `json:"useHyperV,omitempty"` Layers []string `json:"layers"` TerminateDuration time.Duration `json:"terminateDuration,omitempty"` IgnoreFlushesDuringBoot bool `json:"ignoreFlushesDuringBoot,omitempty"` AllowUnqualifiedDNSQuery bool `json:"allowUnqualifiedDNSQuery,omitempty"` DNSSearchList []string `json:"dnsSearchList,omitempty"` NetworkEndpoints []string `json:"networkEndpoints,omitempty"` Credentials string `json:"credentials,omitempty"` }
type Container ¶
func (*Container) AddProcess ¶
func (*Container) GetConfiguration ¶
func (c *Container) GetConfiguration() Configuration
type HCS ¶
type HCS struct {
// contains filtered or unexported fields
}
func (*HCS) CreateContainer ¶
type IO ¶
type IO struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.