Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerCompose ¶
DockerCompose is a struct representation of a docker compose template
func New ¶
func New(org, name string) *DockerCompose
New takes a name and returns a viable dockercompose struct
func (*DockerCompose) EnableDB ¶
func (d *DockerCompose) EnableDB()
EnableDB turns on the inclusion of database usage in the output template
func (*DockerCompose) WriteFile ¶
func (d *DockerCompose) WriteFile() error
WriteFile writes the current dockercompose file struct to an actualized docker-compose file. It returns any errors it encounters with the template and writing the file to disk.
Click to show internal directories.
Click to hide internal directories.