docker

package
v0.0.0-kmdagger2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: AGPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllArchs = []string{"amd64", "armv7", "arm64"}

AllArchs is a list of all supported Docker image architectures.

Functions

func BuildImage

func BuildImage(version string, arch config.Architecture, grafanaDir string, useUbuntu, shouldSave bool, edition config.Edition, mode config.VersionMode) ([]string, error)

BuildImage builds a Docker image. The image tag is returned.

func Init

func Init() error

Init initializes the OS for Docker image building.

func PushImage

func PushImage(newImage string) error

func PushManifest

func PushManifest(manifest string) error

Types

type Config

type Config struct {
	Bucket        string
	Edition       string
	Tag           string
	Distribution  []config.Distribution
	Archs         []config.Architecture
	DockerHubRepo string
	Security      bool
}

Jump to

Keyboard shortcuts

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