gocloud.dev: gocloud.dev/gcp/cloudsql Index | Files

package cloudsql

import "gocloud.dev/gcp/cloudsql"

Package cloudsql contains Wire providers that are common across Google Cloud SQL.


Package Files



var CertSourceSet = wire.NewSet(
    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.

func NewCertSource Uses

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.

Package cloudsql imports 4 packages (graph) and is imported by 5 packages. Updated 2019-06-27. Refresh now. Tools for package owners.