security

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Environment

func Environment() string

Environment returns the normalized deployment environment.

func IsProduction

func IsProduction() bool

IsProduction reports whether the current process is running in a production environment.

func ValidateTLSProductionPolicy

func ValidateTLSProductionPolicy(component string, enabled bool, insecureSkipVerify bool) error

ValidateTLSProductionPolicy rejects TLS settings that are unsafe for production.

Types

This section is empty.

Jump to

Keyboard shortcuts

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