Versions in this module Expand all Collapse all v1 v1.0.0 Jul 14, 2026 Changes in this version + const PostgresPassword + const PostgresUsername + type PostgresDriver struct + Databases []string + Image string + func NewDriver(image string) *PostgresDriver + func (pd *PostgresDriver) ClearTables(container mconfig.ContainerInformation) error + func (pd *PostgresDriver) CreateContainer(ctx context.Context, c *client.Client, a mconfig.ContainerAllocation) (string, error) + func (pd *PostgresDriver) DropTables(container mconfig.ContainerInformation) error + func (pd *PostgresDriver) GetImage() string + func (pd *PostgresDriver) GetRequiredPortAmount() int + func (pd *PostgresDriver) GetUniqueId() string + func (pd *PostgresDriver) HandleInstruction(ctx context.Context, c *client.Client, container mconfig.ContainerInformation, ...) error + func (pd *PostgresDriver) Host(ctx *mconfig.Context) mconfig.EnvironmentValue + func (pd *PostgresDriver) Initialize(ctx context.Context, c *client.Client, container mconfig.ContainerInformation) error + func (pd *PostgresDriver) IsHealthy(ctx context.Context, c *client.Client, container mconfig.ContainerInformation) (bool, error) + func (pd *PostgresDriver) Load(data string) (mconfig.ServiceDriver, error) + func (pd *PostgresDriver) NewDatabase(name string) *PostgresDriver + func (pd *PostgresDriver) Password() mconfig.EnvironmentValue + func (pd *PostgresDriver) Port(ctx *mconfig.Context) mconfig.EnvironmentValue + func (pd *PostgresDriver) Save() (string, error) + func (pd *PostgresDriver) Username() mconfig.EnvironmentValue