container

package
v0.6.5-0...-c050ab2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DistDirName = "dist"
	InstDirName = "instances"
)

Variables

View Source
var (
	ErrInvalidInstName = errors.New("invalid instance name")
)

Functions

This section is empty.

Types

type Container

type Container struct {
	Parent   abstract.Ciel
	BasePath string
}

func (*Container) AddInst

func (i *Container) AddInst(name string) error

func (*Container) CheckInst

func (i *Container) CheckInst(name string)

func (*Container) DelInst

func (i *Container) DelInst(name string) error

func (*Container) DistDir

func (i *Container) DistDir() string

func (*Container) GetAll

func (i *Container) GetAll() []*instance.Instance

func (*Container) GetAllNames

func (i *Container) GetAllNames() []string

func (*Container) GetBasePath

func (i *Container) GetBasePath() string

func (*Container) GetCiel

func (i *Container) GetCiel() abstract.Ciel

func (*Container) Init

func (i *Container) Init()

func (*Container) InstDir

func (i *Container) InstDir() string

func (*Container) InstExists

func (i *Container) InstExists(name string) bool

func (*Container) Instance

func (i *Container) Instance(name string) *instance.Instance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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