google

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package google contains methods that facilitate working with the Google's APIs (and, in particular, with the Cloud SQL Admin API).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBadRequest

func IsBadRequest(err error) bool

IsBadRequest indicates whether the specified error is the result of the Cloud SQL Admin API replying with http.StatusBadRequest.

func IsConflict

func IsConflict(err error) bool

IsConflict indicates whether the specified error is the result of the Cloud SQL Admin API replying with http.StatusConflict.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound indicates whether the specified error is the result of the Cloud SQL Admin API replying with http.StatusNotFound.

func NewCloudSQLAdminClient

func NewCloudSQLAdminClient(keyPath string) (*sqladmin.Service, error)

NewCloudSQLAdminClient creates a client to the Cloud SQL Admin API that uses the specified IAM service account credentials file for authentication.

Types

This section is empty.

Jump to

Keyboard shortcuts

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