Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DatabaseImage is used for determining the engine and version
DatabaseImage = "%s:%s"
)
Functions ¶
func StartOrCreate ¶
func StartOrCreate(ctx context.Context, docker client.CommonAPIClient, networkID string, db config.Database, output terminal.Outputer) (string, string, error)
StartOrCreate is used to find a specific database and start the container. If there is no container for the database, it will create a new volume and container for the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.