package cloudsql
import "gocloud.dev/gcp/cloudsql"
Package cloudsql contains Wire providers that are common across Google Cloud SQL.
Index ¶
Variables ¶
var CertSourceSet = wire.NewSet( NewCertSource, wire.Bind(new(proxy.CertSource), new(*certs.RemoteCertSource)))
CertSourceSet is a Wire provider set that binds a Cloud SQL proxy certificate source from an GCP-authenticated HTTP client.
Functions ¶
func NewCertSource ¶
func NewCertSource(c *gcp.HTTPClient) *certs.RemoteCertSource
NewCertSource creates a local certificate source that uses the given HTTP client. The client is assumed to make authenticated requests.
Source Files ¶
cloudsql.go
- Version
- v0.23.0
- Published
- May 15, 2021
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.