container

package
v0.108.4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

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

func New

func New(image string, cpu float32, memory uint32, volumes []*api.Volume) (*Container, error)

func (*Container) Close

func (cont *Container) Close() error

func (*Container) Run

func (cont *Container) Run(ctx context.Context, config *runconfig.RunConfig) (err error)

func (*Container) WorkingDirectory

func (cont *Container) WorkingDirectory(projectDir string, dirtyMode bool) string

Jump to

Keyboard shortcuts

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