Discover Packages
go.chromium.org/infra
cros
cmd
container_uprev
internal
preppers
package
Version:
v0.0.0-...-7220889
Opens a new window with list of versions in this module.
Published: Feb 25, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Container Prepper
Some containers need to have extra values populated into their directories.
These containers should define a function within this folder with the function definition that follows:
type prepper = func(ctx context.Context, dir string) error
Expand ▾
Collapse ▴
Documentation
¶
Package preppers contains preppers for configured containers.
Package preppers contains preppers for configured containers.
View Source
const (
TradefedMetadataFile = "tradefed_metadata.pb"
)
AdbBase implements the prepper for adb-base container.
InternalTF implements the prepper for tradefed internal container.
type Module struct {
Name string `json:"name"`
Description string `json:"description"`
Abis []string `json:"abis"`
Parameters []string `json:"parameters"`
BugComponents []int `json:"bug_components"`
Owners []string `json:"owners"`
}
type TargetBuild struct {
Target string `json:"target"`
BuildId string `json:"build_id"`
Abi string `json:"abi"`
}
type TradefedMetadata struct {
Version string `json:"version"`
Suite string `json:"suite"`
Branch string `json:"branch"`
BuildId string `json:"build_id"`
Targets []string `json:"targets"`
Modules []Module `json:"modules"`
TargetBuilds []TargetBuild `json:"target_builds"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.