cmd

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package cmd provides access to the embedded version of the binaries. Taken from https://github.com/AgentZombie/go-embed-version.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is set at compile time with -ldflags "-X '<package>/cmd.Version=x.y.z'"
	// Example:
	//   go run -ldflags "-X 'github.com/GoogleCloudPlatform/healthcare-data-protection-suite/cmd.Version=1.2.3'" ./cmd/tfengine -version
	Version = ""
	// BuildTime is set at compile time with -ldflags "-X '<package>/cmd.BuildTime=<date>'"
	// Example:
	//   go run -ldflags "-X 'github.com/GoogleCloudPlatform/healthcare-data-protection-suite/cmd.BuildTime=Thu 17 Dec 2020 02:58:52 PM EST'" ./cmd/tfengine -version
	BuildTime = ""
)

Functions

func ShowVersion added in v0.5.0

func ShowVersion()

ShowVersion shows the version and the build time.

Types

This section is empty.

Directories

Path Synopsis
policygen automates generation of Google-recommended Policy Library constraints based on your Terraform configs.
policygen automates generation of Google-recommended Policy Library constraints based on your Terraform configs.
tfengine provides an engine to power your Terraform environment.
tfengine provides an engine to power your Terraform environment.
The Terraform Importer imports resources from existing infrastructure into Terraform configs.
The Terraform Importer imports resources from existing infrastructure into Terraform configs.

Jump to

Keyboard shortcuts

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