Documentation ¶
Overview ¶
Package cloudsql contains Wire providers that are common across Google Cloud SQL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CertSourceSet = wire.NewSet( NewCertSource, wire.Bind((*proxy.CertSource)(nil), (*certs.RemoteCertSource)(nil)))
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.