cri

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRI

type CRI interface {
	List(ctx context.Context, all bool) ([]*types.Container, error)
	Create(ctx context.Context, spec *types.ContainerManifest) (string, error)
	Start(ctx context.Context, ID string) error
	Restart(ctx context.Context, ID string, timeout *time.Duration) error
	Stop(ctx context.Context, ID string, timeout *time.Duration) error
	Pause(ctx context.Context, ID string) error
	Resume(ctx context.Context, ID string) error
	Remove(ctx context.Context, ID string, clean bool, force bool) error
	Inspect(ctx context.Context, ID string) (*types.Container, error)
	Logs(ctx context.Context, ID string, stdout, stderr, follow bool) (io.ReadCloser, error)
	Copy(ctx context.Context, ID, path string, content io.Reader) error
	Subscribe(ctx context.Context, container chan *types.Container) error
}

CRI - Container Runtime Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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