Documentation
¶
Index ¶
Constants ¶
View Source
const (
ARM64 = "arm64"
)
View Source
const (
LINUX = "linux"
)
Variables ¶
This section is empty.
Functions ¶
func NewPatchCmd ¶
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
// 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.