gaudi

package
v0.0.0-...-d197850 Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_BASE_IMAGE = "stackbrew/debian"
View Source
const DEFAULT_BASE_IMAGE_WITH_TAG = "stackbrew/debian:wheezy"
View Source
const PARSED_TEMPLATE_DIR = "/tmp/gaudi/"
View Source
const TEMPLATE_DIR = "/var/tmp/gaudi/templates/"
View Source
const TEMPLATE_REMOTE_PATH = "http://gaudi.io/apt/templates.tar"
View Source
const VERSION = "0.2.1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Gaudi

type Gaudi struct {
	Applications      containerCollection.ContainerCollection
	Binaries          containerCollection.ContainerCollection
	All               containerCollection.ContainerCollection
	ApplicationDir    string
	ConfigurationPath string
}

func (*Gaudi) Check

func (gaudi *Gaudi) Check()

*

  • Check if all applications are started

func (*Gaudi) Clean

func (gaudi *Gaudi) Clean()

*

  • Kill & Remove all containers

func (*Gaudi) Enter

func (gaudi *Gaudi) Enter(name string)

*

  • Enter in a specific container

func (*Gaudi) GetApplication

func (gaudi *Gaudi) GetApplication(name string) *container.Container

func (*Gaudi) GetContainerTemplate

func (gaudi *Gaudi) GetContainerTemplate(container *container.Container) (string, bool)

func (*Gaudi) Init

func (gaudi *Gaudi) Init(content string)

func (*Gaudi) InitFromFile

func (gaudi *Gaudi) InitFromFile(file string)

func (*Gaudi) Run

func (gaudi *Gaudi) Run(name string, arguments []string)

*

  • Runs a container as a binary

func (*Gaudi) StartApplications

func (gaudi *Gaudi) StartApplications(rebuild bool)

func (*Gaudi) StopApplications

func (gaudi *Gaudi) StopApplications()

type TemplateData

type TemplateData struct {
	Collection containerCollection.ContainerCollection
	Container  *container.Container
	EmptyCmd   bool
}

Jump to

Keyboard shortcuts

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