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
Click to show internal directories.
Click to hide internal directories.