globalflags

package
v0.9.3 Latest Latest
Warning

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

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

Documentation

Overview

Package globalflags contains global flags of binary, eg. Experimental.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Experimental is a global flag determining if experimental features should be enabled.
	// Set from env var: `export FEDERATED_ACCESS_ENABLE_EXPERIMENTAL=true`
	Experimental = os.Getenv("FEDERATED_ACCESS_ENABLE_EXPERIMENTAL") == "true"

	// DisableAuditLog is a global flag determining if you want to disable audit log.
	// Set from env var: `export FEDERATED_ACCESS_DISABLE_AUDIT_LOG=true`
	DisableAuditLog = os.Getenv("FEDERATED_ACCESS_DISABLE_AUDIT_LOG") == "true"

	// EnableDevLog is a global flag determining if you want to enable dev log.
	// Set from env var: `export ENABLE_DEV_LOG=true`
	EnableDevLog = os.Getenv("ENABLE_DEV_LOG") == "true"

	// DisableIAMConditionExpiry is a global flag determining if you want to use IAM condition to manage user IAM expiry.
	// Set from env var: `export DISABLE_IAM_CONDITION_EXPIRY=true`
	DisableIAMConditionExpiry = os.Getenv("DISABLE_IAM_CONDITION_EXPIRY") == "true"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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