Documentation ¶
Index ¶
Constants ¶
View Source
const Type pluginType = "runtime"
Variables ¶
View Source
var ErrUnexpectedMapType = errors.New("unexpected map type for stdio streaming server")
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(impl ContainerRuntime) runtime.PluginServer
Types ¶
type ContainerRuntime ¶
type ContainerRuntime interface { dodo.Plugin ResolveImage(string) (string, error) CreateContainer(*core.Backdrop, bool, bool) (string, error) StartContainer(string) error DeleteContainer(string) error ResizeContainer(string, uint32, uint32) error KillContainer(string, os.Signal) error StreamContainer(string, *dodo.StreamConfig) (*Result, error) }
func NewGRPCClient ¶
func NewGRPCClient(conn grpc.ClientConnInterface) ContainerRuntime
Click to show internal directories.
Click to hide internal directories.