podman

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressMessage

type ProgressMessage struct {
	Status string
	Detail string
}

type ScenarioOrchestrator

type ScenarioOrchestrator struct {
	Config           config.Config
	ContainerRuntime orchestratormodels.ContainerRuntime
}

func (*ScenarioOrchestrator) Attach

func (c *ScenarioOrchestrator) Attach(containerId *string, signalChannel chan os.Signal, stdout io.Writer, stderr io.Writer, ctx context.Context) (bool, error)

func (*ScenarioOrchestrator) AttachWait

func (c *ScenarioOrchestrator) AttachWait(containerId *string, stdout io.Writer, stderr io.Writer, ctx context.Context) (*bool, error)

func (*ScenarioOrchestrator) CleanContainers

func (c *ScenarioOrchestrator) CleanContainers(ctx context.Context) (*int, error)

func (*ScenarioOrchestrator) Connect

func (c *ScenarioOrchestrator) Connect(containerRuntimeUri string) (context.Context, error)

func (*ScenarioOrchestrator) GetConfig

func (c *ScenarioOrchestrator) GetConfig() config.Config

func (*ScenarioOrchestrator) GetContainerRuntime

func (c *ScenarioOrchestrator) GetContainerRuntime() orchestratormodels.ContainerRuntime

func (*ScenarioOrchestrator) GetContainerRuntimeSocket

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

func (*ScenarioOrchestrator) InspectScenario

func (*ScenarioOrchestrator) Kill

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

func (*ScenarioOrchestrator) ListRunningContainers

func (c *ScenarioOrchestrator) ListRunningContainers(ctx context.Context) (*map[int64]orchestratormodels.Container, error)

func (*ScenarioOrchestrator) ListRunningScenarios

func (*ScenarioOrchestrator) PrintContainerRuntime

func (c *ScenarioOrchestrator) PrintContainerRuntime()

func (*ScenarioOrchestrator) ResolveContainerName

func (c *ScenarioOrchestrator) ResolveContainerName(containerName string, ctx context.Context) (*string, error)

func (*ScenarioOrchestrator) Run

func (c *ScenarioOrchestrator) Run(image string, containerName string, env map[string]string, cache bool, volumeMounts map[string]string, commChan *chan *string, ctx context.Context) (*string, error)

func (*ScenarioOrchestrator) RunAttached

func (c *ScenarioOrchestrator) RunAttached(image string, containerName string, env map[string]string, cache bool, volumeMounts map[string]string, stdout io.Writer, stderr io.Writer, commChan *chan *string, ctx context.Context) (*string, error)

func (*ScenarioOrchestrator) RunGraph

func (c *ScenarioOrchestrator) RunGraph(scenarios orchestratormodels.ScenarioSet, resolvedGraph orchestratormodels.ResolvedGraph, extraEnv map[string]string, extraVolumeMounts map[string]string, cache bool, commChannel chan *orchestratormodels.GraphCommChannel, ctx context.Context)

Jump to

Keyboard shortcuts

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