featureflag

package
v0.6.211 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug added in v0.6.58

func Debug() bool

todo set me via cli flag? this was meant to sort of like verbose but could be removed in favor of something like that

func DisableErrorReporting added in v0.6.56

func DisableErrorReporting() bool

func DisableSSHProxyVersionCheck added in v0.6.55

func DisableSSHProxyVersionCheck() bool

func IsAdmin added in v0.6.24

func IsAdmin(userType entity.GlobalUserType) bool

func IsDev

func IsDev() bool

func LoadFeatureFlags added in v0.6.35

func LoadFeatureFlags(path string) error

func ServiceMeshSSH added in v0.6.35

func ServiceMeshSSH(userType entity.GlobalUserType) bool

use feature flag if not provided default true for admin but not others

func ShowVersionOnRun added in v0.6.75

func ShowVersionOnRun() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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