melange

package
v0.0.436 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Pins = map[string]artifacts.Reference{
	"linux/amd64": {
		URL: fmt.Sprintf("https://github.com/chainguard-dev/melange/releases/download/v%s/melange_%s_linux_amd64.tar.gz", version, version),
		Digest: schema.Digest{
			Algorithm: "sha256",
			Hex:       "6941deb77c43813007a126250ad43f1d52296ae27a523cc7d064d2772bd21653",
		},
	},
	"linux/arm64": {
		URL: fmt.Sprintf("https://github.com/chainguard-dev/melange/releases/download/v%s/melange_%s_linux_arm64.tar.gz", version, version),
		Digest: schema.Digest{
			Algorithm: "sha256",
			Hex:       "a848a837d49668fc1cca404e158b7d6d05648827b802eebc34de14f6ade7dfb0",
		},
	},
	"darwin/arm64": {
		URL: fmt.Sprintf("https://github.com/chainguard-dev/melange/releases/download/v%s/melange_%s_darwin_arm64.tar.gz", version, version),
		Digest: schema.Digest{
			Algorithm: "sha256",
			Hex:       "0e13f30e08fac51c0b3048f210bbcb1993f5cb4343822f7063c7279c154d802f",
		},
	},
	"darwin/amd64": {
		URL: fmt.Sprintf("https://github.com/chainguard-dev/melange/releases/download/v%s/melange_%s_darwin_amd64.tar.gz", version, version),
		Digest: schema.Digest{
			Algorithm: "sha256",
			Hex:       "e488edc9e258d7f4628f0cee5bc115c539dccb8741cc8a3b961613459b6dad8c",
		},
	},
}

Functions

Types

type Melange

type Melange string

func EnsureSDK

func EnsureSDK(ctx context.Context, p specs.Platform) (Melange, error)

Jump to

Keyboard shortcuts

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