Help us shape the future of Go! Take the 2026 Go Developer Survey

container

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: GPL-3.0 Imports: 8 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 {
	Name string
	Path string
}

Container has a config for conatiner.

func NewContainer

func NewContainer() *Container

NewContainer creates a default Container configuration.

func (*Container) Install

func (c *Container) Install() error

Install installs a container.

func (*Container) IsActive

func (c *Container) IsActive() bool

IsActive returns the container active status.

func (*Container) Remove

func (c *Container) Remove() error

Remove removes the container.

func (*Container) Restart

func (c *Container) Restart() error

Restart restarts the container.

func (*Container) Start

func (c *Container) Start() error

Start starts the container.

func (*Container) Stop

func (c *Container) Stop() error

Stop stops the container.

func (*Container) Update

func (c *Container) Update(newPath, oldPath string, copies []string,
	merges []string) error

Update upgrades the container.

Jump to

Keyboard shortcuts

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