Versions in this module Expand all Collapse all v1 v1.13.1 Mar 11, 2020 Changes in this version + const CoEClassstring — windows/amd64 + const ErrorBadPathname — windows/amd64 + const ErrorInvalidObject — windows/amd64 + const ErrorNoNetwork — windows/amd64 + const InitFriendlyName + const StateExit + const StateExitProcess + const StateOOM + const StatePause + const StateRestore + const StateResume + const StateStart + type Backend interface + StateChanged func(containerID string, state StateInfo) error + type Checkpoint struct — windows/amd64 + Name string + type Checkpoints containerd.ListCheckpointResponse — linux/amd64 + type Checkpoints struct — windows/amd64 + Checkpoints []*Checkpoint + type Client interface + AddProcess func(ctx context.Context, containerID, processFriendlyName string, process Process, ...) (int, error) + Create func(containerID string, checkpoint string, checkpointDir string, spec specs.Spec, ...) error + CreateCheckpoint func(containerID string, checkpointID string, checkpointDir string, exit bool) error + DeleteCheckpoint func(containerID string, checkpointID string, checkpointDir string) error + GetPidsForContainer func(containerID string) ([]int, error) + GetServerVersion func(ctx context.Context) (*ServerVersion, error) + ListCheckpoints func(containerID string, checkpointDir string) (*Checkpoints, error) + Pause func(containerID string) error + Resize func(containerID, processFriendlyName string, width, height int) error + Restore func(containerID string, attachStdio StdioCallback, options ...CreateOption) error + Resume func(containerID string) error + Signal func(containerID string, sig int) error + SignalProcess func(containerID string, processFriendlyName string, sig int) error + Stats func(containerID string) (*Stats, error) + Summary func(containerID string) ([]Summary, error) + UpdateResources func(containerID string, resources Resources) error + type CommonStateInfo struct + ExitCode uint32 + Pid uint32 + ProcessID string + State string + type CreateOption interface + Apply func(interface{}) error + func WithRuntime(path string, args []string) CreateOption + type CredentialsOption struct — windows/amd64 + Credentials string + func (s *CredentialsOption) Apply(interface{}) error + type FlushOption struct — windows/amd64 + IgnoreFlushesDuringBoot bool + func (f *FlushOption) Apply(interface{}) error + type HyperVIsolationOption struct — windows/amd64 + IsHyperV bool + SandboxPath string + func (h *HyperVIsolationOption) Apply(interface{}) error + type IOPipe struct + Stderr io.ReadCloser + Stdin io.WriteCloser + Stdout io.ReadCloser + Terminal bool + type LayerOption struct — windows/amd64 + LayerFolderPath string + LayerPaths []string + func (h *LayerOption) Apply(interface{}) error + type NetworkEndpointsOption struct — windows/amd64 + AllowUnqualifiedDNSQuery bool + Endpoints []string + func (s *NetworkEndpointsOption) Apply(interface{}) error + type Process specs.Process — windows/amd64 + type Process struct — linux/amd64 + ApparmorProfile *string + Args []string + Capabilities []string + Cwd *string + Env []string + Rlimits []specs.Rlimit + SelinuxLabel *string + Terminal bool + User *specs.User + type Remote interface + Cleanup func() + Client func(Backend) (Client, error) + UpdateOptions func(...RemoteOption) error + func New(_ string, _ ...RemoteOption) (Remote, error) + func New(stateDir string, options ...RemoteOption) (_ Remote, err error) + type RemoteOption interface + Apply func(Remote) error + func WithDebugLog(debug bool) RemoteOption + func WithLiveRestore(v bool) RemoteOption + func WithOOMScore(score int) RemoteOption + func WithRemoteAddr(addr string) RemoteOption + func WithRuntimeArgs(args []string) RemoteOption + func WithRuntimePath(rt string) RemoteOption + func WithStartDaemon(start bool) RemoteOption + type Resources containerd.UpdateResource — linux/amd64 + type Resources struct — windows/amd64 + type ServerVersion struct + type ServicingOption struct — windows/amd64 + IsServicing bool + func (s *ServicingOption) Apply(interface{}) error + type StateInfo struct — linux/amd64, windows/amd64 + OOMKilled bool + UpdatePending bool + type Stats containerd.StatsResponse — linux/amd64 + type Stats hcsshim.Statistics — windows/amd64 + type StdioCallback func(IOPipe) error + type Summary hcsshim.ProcessListItem — windows/amd64 + type Summary struct — linux/amd64