containerd

package
v0.1.0-alpha.22 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import(namespace string, reqs ...*ImportRequest) error

Import imports the images specified by the import requests.

func WithMemoryLimit

func WithMemoryLimit(limit int64) oci.SpecOpts

WithMemoryLimit sets the linux resource memory limit field.

func WithRootfsPropagation

func WithRootfsPropagation(rp string) oci.SpecOpts

WithRootfsPropagation sets the root filesystem propagation.

Types

type Containerd

type Containerd struct{}

Containerd represents a service to be run in a container.

func (*Containerd) Run

func (c *Containerd) Run(data *userdata.UserData, args runner.Args, setters ...runner.Option) error

Run implements the Runner interface. nolint: gocyclo

type ImportRequest

type ImportRequest struct {
	Path    string
	Options []containerd.ImportOpt
}

ImportRequest represents an image import request.

Jump to

Keyboard shortcuts

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