Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LangUpdatePackages ¶ added in v0.12.0
type LangUpdatePackages []UpdatePackage
type MultiPlatformSummary ¶ added in v0.11.0
type Options ¶ added in v0.11.1
type Options struct {
// Core single image patch configuration
Image string
Report string
PatchedTag string
Suffix string
// Working environment
WorkingFolder string
Timeout time.Duration
// Scanner and output
Scanner string
IgnoreError bool
// Output configuration
Format string
Output string
Progress progressui.DisplayMode
// Buildkit connection options
BkAddr string
BkCACertPath string
BkCertPath string
BkKeyPath string
// Platform and push
Push bool
Platforms []string
Loader string
OCIDir string
// Package types and library patch level
PkgTypes string
LibraryPatchLevel string
// Generate specific
OutputContext string
// EOL configuration
EOLAPIBaseURL string
ExitOnEOL bool
}
Options contains common copacetic options.
type PatchPlatform ¶ added in v0.11.0
type PatchPlatform struct {
ispec.Platform
ReportFile string `json:"reportFile"`
ShouldPreserve bool `json:"shouldPreserve"`
}
PatchPlatform is an extension of ispec.Platform but with a reportFile.
func (PatchPlatform) String ¶ added in v0.11.0
func (p PatchPlatform) String() string
String returns a string representation of the PatchPlatform.
type PatchResult ¶ added in v0.11.0
type PatchResult struct {
OriginalRef reference.Named
PatchedDesc *ispec.Descriptor
PatchedRef reference.Named
PatchedState *llb.State // BuildKit state for OCI export
ConfigData []byte // Image config data
}
PatchResult represents the result of a single arch patch operation.
type UpdateManifest ¶
type UpdateManifest struct {
OSType string `json:"osType"`
OSVersion string `json:"osVersion"`
Arch string `json:"arch"`
Updates UpdatePackages `json:"updates"`
LangUpdates LangUpdatePackages `json:"langupdates"`
}
type UpdatePackage ¶
type UpdatePackages ¶
type UpdatePackages []UpdatePackage
Click to show internal directories.
Click to hide internal directories.