env

package
v0.0.0-...-a5a65f0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 4 Imported by: 205

Documentation

Overview

Package env detects what sort of environment Camlistore is running in.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugUploads

func DebugUploads() bool

DebugUploads reports whether this is a debug environment for uploads.

func IsDebug

func IsDebug() bool

IsDebug reports whether this is a debug environment.

func IsDev

func IsDev() bool

IsDev reports whether this is a development server environment (devcam server).

func OnGCE

func OnGCE() bool

OnGCE reports whether this process is running in a Google Compute Engine (GCE) environment. This only returns true if the "camlistore-config-dir" instance metadata value is defined. Instances running in custom configs on GCE will be unaffected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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