Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DockerPrefix = "nickthetramp/"
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ID string Name string IsRunning bool Path string Ports []int `yaml:"ports"` Volumes []struct { Target string `yaml:"target"` Source string `yaml:"source"` } `yaml:"volumes"` }
func (*Configuration) BuildContainer ¶
func (c *Configuration) BuildContainer(cm ConfigurationManager)
func (*Configuration) CreateContainer ¶
func (c *Configuration) CreateContainer(cm ConfigurationManager)
func (*Configuration) Populate ¶
func (c *Configuration) Populate(cm ConfigurationManager)
func (*Configuration) StopContainer ¶
func (c *Configuration) StopContainer(cm ConfigurationManager)
type ConfigurationManager ¶
func (*ConfigurationManager) FindConfiguration ¶
func (cm *ConfigurationManager) FindConfiguration(name string) (Configuration, error)
func (*ConfigurationManager) GetConfigurations ¶
func (cm *ConfigurationManager) GetConfigurations() []Configuration
Click to show internal directories.
Click to hide internal directories.