local

package
v0.0.0-...-c8c06fe Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InitFlag = &cli.Command{
		Name:   "___init",
		Hidden: true,
		Action: func(c *cli.Context) error {
			InitLibcontainer()
			return nil
		},
	}
)

Functions

func InitLibcontainer

func InitLibcontainer()

Types

type CntrManager

type CntrManager struct {
	Rootless  bool
	BinResolv bool
	Prehook   []string
	Posthook  []string
	// contains filtered or unexported fields
}

func NewCntrManager

func NewCntrManager(path, image string, s store.Store, opts ...func(*CntrManager) error) (*CntrManager, error)

func (*CntrManager) Close

func (m *CntrManager) Close() error

func (*CntrManager) Create

func (m *CntrManager) Create(info *Cntrinfo) (string, error)

func (*CntrManager) Delete

func (m *CntrManager) Delete(id string) error

func (*CntrManager) Get

func (m *CntrManager) Get(id string) (Cntr, error)

func (*CntrManager) ID

func (m *CntrManager) ID() (string, error)

func (*CntrManager) List

func (m *CntrManager) List(id string, f func(*Cntrinfo) error) error

Jump to

Keyboard shortcuts

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