runtime

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllRuntimePlugins

func GetAllRuntimePlugins(m plugin.Manager) []plugin.Plugin

Types

type ContainerRuntime

type ContainerRuntime struct {
	// contains filtered or unexported fields
}

func (*ContainerRuntime) CreateContainer

func (c *ContainerRuntime) CreateContainer(config *coreapi.Backdrop, tty bool, stdio bool) (string, error)

func (*ContainerRuntime) DeleteContainer

func (c *ContainerRuntime) DeleteContainer(id string) error

func (*ContainerRuntime) Init

func (*ContainerRuntime) PluginInfo

func (c *ContainerRuntime) PluginInfo() *coreapi.PluginInfo

func (*ContainerRuntime) ResizeContainer

func (c *ContainerRuntime) ResizeContainer(id string, height uint32, width uint32) error

func (*ContainerRuntime) ResolveImage

func (c *ContainerRuntime) ResolveImage(spec string) (string, error)

func (*ContainerRuntime) StartContainer

func (c *ContainerRuntime) StartContainer(id string) error

func (*ContainerRuntime) StreamContainer

func (c *ContainerRuntime) StreamContainer(id string, stream *plugin.StreamConfig) (*runtime.Result, error)

func (*ContainerRuntime) Type

func (c *ContainerRuntime) Type() plugin.Type

Jump to

Keyboard shortcuts

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