gcp

package module
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 20 Imported by: 0

README

cloud-gcp

Google Cloud Platform stuff

Documentation

Index

Constants

View Source
const (
	GoogleOAuthStart    = "/_a/1/start"
	GoogleOAuthRedirect = "/_a/1/auth"
)

Variables

This section is empty.

Functions

func GetOAuthConfig added in v1.1.1

func GetOAuthConfig() oauth2.Config

func LogWithLevel

func LogWithLevel(logger *stackdriver_logging.Logger, lvl observer.Severity, msg string, keyValuePairs ...string)

func NewGoogleCloudStorageProvider

func NewGoogleCloudStorageProvider() interface{}

func NewGoogleStackdriverProvider

func NewGoogleStackdriverProvider() interface{}

func NewOAuthClient added in v1.1.1

func NewOAuthClient(ctx context.Context, config *oauth2.Config) (*http.Client, error)

func OAuthRedirectEndpoint added in v1.1.1

func OAuthRedirectEndpoint(c echo.Context) error

OAuthRedirectEndpoint handles the OAuth call-back and creates a token on success

func OAuthStartEndpoint added in v1.1.1

func OAuthStartEndpoint(c echo.Context) error

OAuthStartEndpoint starts the OAuth 2.0 flow

Types

This section is empty.

Jump to

Keyboard shortcuts

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