Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InClusterProjectID ¶
InClusterProjectID returns the GCP project ID if the code is running inside a GKE cluster
func WaitForWorkloadIdentity ¶
WaitForWorkloadIdentity waits until the workload identity metadata server is ready. If the server is not ready within the specified timeout an error is returned.
Types ¶
type SecretManagerClient ¶
type SecretManagerClient struct {
// contains filtered or unexported fields
}
func NewSecretManagerClient ¶
func NewSecretManagerClient() (*SecretManagerClient, error)
NewSecretManagerClient opens a connection to the secret manager service.
func (*SecretManagerClient) Close ¶
func (s *SecretManagerClient) Close()
Close closes the connection to the secret manager service.
Click to show internal directories.
Click to hide internal directories.