Documentation
¶
Index ¶
Constants ¶
View Source
const (
ARM64 = "arm64"
)
View Source
const (
LINUX = "linux"
)
Variables ¶
This section is empty.
Functions ¶
func ArchTagSuffixes ¶ added in v0.14.0
func ArchTagSuffixes() []string
ArchTagSuffixes returns the set of architecture suffixes that Copa appends to base tags when pushing per-architecture images (e.g. "386", "amd64", "arm-v7"). The list is derived from validPlatforms so it stays in sync automatically.
Types ¶
type BuildConfig ¶ added in v0.11.1
type BuildConfig struct {
SolveOpt client.SolveOpt
ShouldExportOCI bool
PipeWriter io.WriteCloser
}
BuildConfig holds configuration for building and exporting images.
type Options ¶ added in v0.11.1
type Options struct {
// Image and platform information
ImageName string
TargetPlatform *types.PatchPlatform
// Update information
Updates *unversioned.UpdateManifest
ValidatedUpdates *unversioned.UpdateManifest
// Working environment
WorkingFolder string
IgnoreError bool
// Optional error channel for patch command integration
ErrorChannel chan error
// If true, return the BuildKit state instead of solving it
ReturnState bool
// Toolchain patch level (e.g., "patch", "minor", "major"; empty = disabled)
ToolchainPatchLevel string
GoVCSURL string
// EOL configuration
ExitOnEOL bool
}
Options contains the parameters needed for the core patching logic.
type Result ¶ added in v0.11.1
type Result struct {
// BuildKit gateway result (nil if ReturnState is true)
Result *gwclient.Result
// Package manager information
PackageType string
ErroredPackages []string
ValidatedUpdates []unversioned.UpdatePackage
// BuildKit state and config (only set if ReturnState is true)
PatchedState *llb.State
ConfigData []byte
}
Result contains the result of the core patching operation.
Click to show internal directories.
Click to hide internal directories.