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.
Click to show internal directories.
Click to hide internal directories.