cloudsql

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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.

func NewCertSourceWithIAM added in v0.28.0

func NewCertSourceWithIAM(c *gcp.HTTPClient, t oauth2.TokenSource) *certs.RemoteCertSource

NewCertSourceWithIAM creates a local certificate source, including Token source for token information used in cert creation, that uses the given HTTP client. The client is assumed to make authenticated requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL