env

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HCPClientID               = "HCP_CLIENT_ID"
	HCPClientSecret           = "HCP_CLIENT_SECRET"
	HCPPackerRegistry         = "HCP_PACKER_REGISTRY"
	HCPPackerBucket           = "HCP_PACKER_BUCKET_NAME"
	HCPPackerBuildFingerprint = "HCP_PACKER_BUILD_FINGERPRINT"
)

Variables

This section is empty.

Functions

func HasClientID

func HasClientID() bool

func HasClientSecret

func HasClientSecret() bool

func HasHCPCredentials

func HasHCPCredentials() bool

func HasPackerRegistryBucket

func HasPackerRegistryBucket() bool

func IsHCPDisabled added in v1.8.4

func IsHCPDisabled() bool

func IsHCPExplicitelyEnabled added in v1.8.4

func IsHCPExplicitelyEnabled() bool

IsHCPExplicitelyEnabled returns true if the client enabled HCP_PACKER_REGISTRY explicitely, i.e. it is defined and not 0 or off

Types

This section is empty.

Jump to

Keyboard shortcuts

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