Documentation
¶
Overview ¶
Package docker - docker impl package for runtime
Index ¶
- func New(runtimeURL string) runtime.Runtime
- type Runtime
- func (d *Runtime) Create(ctx context.Context, spec domain.ContainerSpec) (domain.ContainerID, error)
- func (d *Runtime) EnsureImage(ctx context.Context, ref domain.ImageRef) error
- func (d *Runtime) Exec(id domain.ContainerID) (runtime.Execution, error)
- func (d *Runtime) ListImage(ctx context.Context) ([]domain.ImageInfo, error)
- func (d *Runtime) Remove(ctx context.Context, id domain.ContainerID) error
- func (d *Runtime) RemoveImage(ctx context.Context, ref domain.ImageRef) error
- func (d *Runtime) Start(ctx context.Context, id domain.ContainerID) error
- func (d *Runtime) Stop(ctx context.Context, id domain.ContainerID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runtime ¶
type Runtime struct {
RuntimeURL string
}
Runtime - docker impl runtime
func (*Runtime) Create ¶
func (d *Runtime) Create( ctx context.Context, spec domain.ContainerSpec, ) (domain.ContainerID, error)
Create - docker impl
func (*Runtime) EnsureImage ¶
EnsureImage - docker impl
func (*Runtime) RemoveImage ¶
RemoveImage - docker impl
Click to show internal directories.
Click to hide internal directories.