-
Notifications
You must be signed in to change notification settings - Fork 2
/
branding.go
36 lines (25 loc) · 1.59 KB
/
branding.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
package branding
// ProductName describes the name of the product being downloaded.
const ProductName = "OpenTofu"
// DefaultDownloadAPIURL describes the API serving the version and file information.
const DefaultDownloadAPIURL = "https://get.opentofu.org/tofu/api.json"
// DefaultMirrorURLTemplate is a Go template that describes the download URL with the {{ .Version }} and {{ .Artifact }}
// embedded into the URL.
const DefaultMirrorURLTemplate = "https://github.com/opentofu/opentofu/releases/download/v{{ .Version }}/{{ .Artifact }}"
// BinaryName holds the name of the binary in the artifact. This may be suffixed .exe on Windows.
const BinaryName = "tofu"
// ArtifactPrefix is the prefix for the artifact names.
const ArtifactPrefix = "tofu_"
// GPGKeyURL describes the URL to download the bundled GPG key from. The GPG key bundler uses this to download the
// GPG key for verification.
const GPGKeyURL = "https://get.opentofu.org/opentofu.asc"
// GPGKeyFingerprint is the GPG key fingerprint the bundler should expect to find when downloading the key.
const GPGKeyFingerprint = "E3E6E43D84CB852EADB0051D0C0AF313E5FD9F80"
// SPDXAuthorsName describes the name of the authors to be attributed in copyright notices in this repository.
const SPDXAuthorsName = "The OpenTofu Authors"
// SPDXLicense describes the license for copyright attribution in this repository.
const SPDXLicense = "MPL-2.0"
// MaximumUncompressedFileSize indicates the maximum file size when uncompressed.
const MaximumUncompressedFileSize = 1024 * 1024 * 1024 * 1024