Documentation ¶
Overview ¶
Package packaging holds functions and types for creating the tar.gz, deb, and rpm packages of Grafana.
Index ¶
Constants ¶
View Source
const ( DefaultDebDBBucket = "grafana-aptly-db" DefaultDebRepoBucket = "grafana-repo" DefaultRPMRepoBucket = "grafana-repo" DefaultTTLSeconds = "300" )
View Source
const CacheSettings = "Cache-Control:public, max-age="
View Source
const EnterpriseSfx = "-enterprise"
View Source
const MainFolder = "main"
View Source
const ReleaseFolder = "release"
Variables ¶
View Source
var ( ErrorNoBinaries = errors.New("no binaries found") ErrorNoDebArch = errors.New("deb architecture not defined") ErrorNoRPMArch = errors.New("rpm architecture not defined") )
View Source
var ArtifactConfigs = []buildArtifact{ { Os: debOS, Arch: "arm64", // contains filtered or unexported fields }, { Os: rhelOS, Arch: "arm64", // contains filtered or unexported fields }, { Os: "linux", Arch: "arm64", // contains filtered or unexported fields }, { Os: debOS, Arch: "armv7", // contains filtered or unexported fields }, { Os: debOS, Arch: "armv6", // contains filtered or unexported fields }, { Os: rhelOS, Arch: "armv7", // contains filtered or unexported fields }, { Os: "linux", Arch: "armv6", // contains filtered or unexported fields }, { Os: "linux", Arch: "armv7", // contains filtered or unexported fields }, { Os: "darwin", Arch: "amd64", // contains filtered or unexported fields }, { Os: "deb", Arch: "amd64", // contains filtered or unexported fields }, { Os: rhelOS, Arch: "amd64", // contains filtered or unexported fields }, { Os: "linux", Arch: "amd64", // contains filtered or unexported fields }, { Os: "win", Arch: "amd64", // contains filtered or unexported fields }, { Os: "win-installer", Arch: "amd64", // contains filtered or unexported fields }, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.