gcp

package
v0.0.0-...-519d24f Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentNamespace

func CurrentNamespace(ctx context.Context) string

CurrentNamespace returns the namespace for the current context

func IsOnAppEngine

func IsOnAppEngine(projectName string) bool

IsOnAppEngine returns if an app is running on app engine environment

func IsOnDevAppServer

func IsOnDevAppServer() bool

IsOnDevAppServer returns if an app is running on devappserver

func WithNamespace

func WithNamespace(ctx context.Context, namespace string) context.Context

WithNamespace sets the namespace for the current context and returns the new context under that namespace

Types

This section is empty.

Directories

Path Synopsis
typed/example
Code generated by github.com/yssk22/go/generator DO NOT EDIT.
Code generated by github.com/yssk22/go/generator DO NOT EDIT.

Jump to

Keyboard shortcuts

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