artifact

package
v0.0.0-...-185c036 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GzipImages = Images{
	Compression: Gzip,
	Kernel:      "full_dev_part_KERN.bin.gz",
	Rootfs:      "full_dev_part_ROOT.bin.gz",
	Stateful:    "stateful.tgz",
}

GzipImages to flash.

See https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:chromite/lib/constants.py;l=697-704;drc=e94de9b6a35c961b92a9aa57fc3f7923525b9925

View Source
var ZstdImages = Images{
	Compression: Zstd,
	Kernel:      "full_KERN.bin.zst",
	Rootfs:      "full_ROOT.bin.zst",
	Stateful:    "stateful.zst",
}

ZstdImages to flash.

See https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:chromite/lib/constants.py;l=706-711;drc=e94de9b6a35c961b92a9aa57fc3f7923525b9925

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	// Cloud storage bucket path.
	Bucket string
	Dir    string

	Images
}

type Compression

type Compression int

Compression type.

const (
	Gzip Compression = iota
	Zstd
)

List of compression types.

type Images

type Images struct {
	Compression Compression

	Kernel   string
	Rootfs   string
	Stateful string
}

Images describes the image names in the artifact directory.

func (*Images) Names

func (i *Images) Names() []string

Names of images as a slice.

Jump to

Keyboard shortcuts

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