podman

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerManager

type ContainerManager struct {
	Config config.Config
}

func (*ContainerManager) Attach

func (c *ContainerManager) Attach(containerId *string, conn *context.Context) error

func (*ContainerManager) CleanContainers

func (c *ContainerManager) CleanContainers() (*int, error)

func (*ContainerManager) GetContainerRuntimeSocket

func (c *ContainerManager) GetContainerRuntimeSocket(userId *int) (*string, error)

func (*ContainerManager) Kill

func (c *ContainerManager) Kill(containerId *string, ctx *context.Context) error

func (*ContainerManager) Run

func (c *ContainerManager) Run(image string, scenarioName string, containerRuntimeUri string, env map[string]string, cache bool, volumeMounts map[string]string) (*string, *context.Context, error)

func (*ContainerManager) RunAttached

func (c *ContainerManager) RunAttached(image string, scenarioName string, containerRuntimeUri string, env map[string]string, cache bool, volumeMounts map[string]string) (*string, error)

Jump to

Keyboard shortcuts

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