types

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

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 MultiPlatformSummary struct {
	Platform string
	Status   string
	Ref      string
	Message  string
}

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 UpdatePackage struct {
	Name             string `json:"name"`
	InstalledVersion string `json:"installedVersion"`
	FixedVersion     string `json:"fixedVersion"`
	VulnerabilityID  string `json:"vulnerabilityID"`
	Type             string `json:"type"`
	Class            string `json:"class"`
}

type UpdatePackages

type UpdatePackages []UpdatePackage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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