MCPcopy Create free account
hub / github.com/coder/coder / newDriver

Function newDriver

coderd/database/awsiamrds/awsiamrds.go:50–55  ·  view source on GitHub ↗

newDriver will create a new *AwsIamRdsDriver using the environment aws session.

(parentDriver driver.Driver, cfg aws.Config)

Source from the content-addressed store, hash-verified

48
49// newDriver will create a new *AwsIamRdsDriver using the environment aws session.
50func newDriver(parentDriver driver.Driver, cfg aws.Config) *awsIamRdsDriver {
51 return &awsIamRdsDriver{
52 parent: parentDriver,
53 cfg: cfg,
54 }
55}
56
57// Open creates a new connection to the database using the provided name.
58func (d *awsIamRdsDriver) Open(name string) (driver.Conn, error) {

Callers 1

RegisterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected