Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime interface {
// NewServer(RuntimeConfig)
// GetClient(string, string) (Runtime, error)
Version(context.Context) string
Pull(context.Context, string) (Image, error)
RemoveImage(ctx context.Context, imageName string) error
Create(context context.Context, containerName string, imageName string, OCISpecs *specs.Spec) (*Container, error)
Run(context.Context, string, string, *specs.Spec) (<-chan interface{}, *Container, error)
Stop(context.Context, *Container) error
Delete(context.Context, *Container) error
Runnable(context.Context, *Container) error
Start(context.Context, *Container) error
Exec(context.Context, Container, []string) error
Wait(context.Context, *Container) (<-chan interface{}, error)
GetContainer(context.Context, string) (*Container, error)
}
Click to show internal directories.
Click to hide internal directories.