Documentation
¶
Overview ¶
Package pgdocker creates one-off Postgres docker images to use so pggen can introspect the schema. The generic container plumbing lives in internal/dbdocker; this supplies the Postgres-specific parts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client to control the running Postgres Docker container.
func (*Client) ConnString ¶
ConnString returns the connection string to connect to the started Postgres Docker container.
func (*Client) GetContainerLogs ¶
GetContainerLogs returns a string of all stderr and stdout logs for a container.
Click to show internal directories.
Click to hide internal directories.