Versions in this module Expand all Collapse all v2 v2.7.2 Apr 18, 2024 v2.7.1 Mar 4, 2024 v2.7.0 Nov 9, 2023 v2.6.0 Sep 29, 2023 v2.5.0 Aug 17, 2023 Changes in this version type Definition + Labels []string v2.4.0 Aug 2, 2023 v2.3.0 Jun 7, 2023 v2.2.0 May 1, 2023 Changes in this version type Client + func (c Client) Upload(refName string, fromDir string) error + func (c Client) UploadImages(refName string, images ...Image) error v2.1.1 Apr 20, 2023 Changes in this version + type Builder struct + func NewBuilder(client ImageClient, scanner ImageScanner, workerCount int) Builder + func (b Builder) Execute(def DefinitionImage, platform string) ImageBuildPromise + type BuilderPromise struct + func (bp BuilderPromise) Resolve() (Image, SBOM, error) + type Cataloger struct + func (c Cataloger) Scan(path string) (SBOM, error) + type Client struct + func NewClient(dir string) (Client, error) + func (c Client) Build(def DefinitionImage, platform string) (Image, error) + func (c Client) Export(path string, images ...Image) error + func (c Client) Update(image Image) (Image, error) + type Creator struct + func NewCreator(docker ImageClient, builder ImageBuilder, ...) Creator + func (c Creator) Execute(def Definition) (Stack, error) + type Definition struct + BugReportURL string + Build DefinitionImage + Deprecated DefinitionDeprecated + Homepage string + ID string + IncludeExperimentalSBOM bool + Maintainer string + Name string + Platforms []string + Run DefinitionImage + SupportURL string + func NewDefinitionFromFile(path string, secrets ...string) (Definition, error) + type DefinitionDeprecated struct + LegacySBOM bool + Mixins bool + type DefinitionImage struct + Args map[string]any + Description string + Dockerfile string + GID int + Platforms map[string]DefinitionImagePlatforms + Secrets map[string]string + Shell string + UID int + func (i DefinitionImage) Arguments(platform string) ([]string, error) + type DefinitionImagePlatforms struct + Args map[string]any + type DefinitionRequiredFieldError string + func NewDefinitionRequiredFieldError(field string) DefinitionRequiredFieldError + func (e DefinitionRequiredFieldError) Error() string + type Image struct + Actual v1.Image + Architecture string + Digest string + Env []string + Labels map[string]string + Layers []Layer + OS string + Path string + User string + func FromImage(path string, image v1.Image) (Image, error) + type ImageBuildPromise interface + Resolve func() (Image, SBOM, error) + type ImageBuilder interface + Execute func(definitionImage DefinitionImage, platform string) ImageBuildPromise + type ImageClient interface + Build func(definitionImage DefinitionImage, platform string) (Image, error) + Update func(Image) (Image, error) + type ImageScanner interface + Scan func(path string) (SBOM, error) + type Layer struct + DiffID string + type LayerCreator interface + Create func(Image, DefinitionImage, SBOM) (Layer, error) + type LegacySBOMPackage struct + Arch string + Name string + Source *LegacySBOMPackageSource + Summary string + Version string + type LegacySBOMPackageSource struct + Name string + UpstreamVersion string + Version string + type OsReleaseLayerCreator struct + Def Definition + func (o OsReleaseLayerCreator) Create(image Image, _ DefinitionImage, _ SBOM) (Layer, error) + type Packages struct + BuildComplement []string + Intersection []string + RunComplement []string + func NewPackages(build, run []string) Packages + type SBOM struct + Distro SBOMDistro + func NewSBOM(sbom sbom.SBOM) SBOM + func (s SBOM) CycloneDXFormat() (string, error) + func (s SBOM) LegacyFormat() (string, error) + func (s SBOM) Packages() []string + func (s SBOM) SyftFormat() (string, error) + type SBOMDistro struct + Name string + Version string + type SBOMLayerCreator struct + func (c SBOMLayerCreator) Create(image Image, def DefinitionImage, sbom SBOM) (Layer, error) + type Stack struct + Build []Image + Run []Image + type UserLayerCreator struct + func (c UserLayerCreator) Create(image Image, def DefinitionImage, _ SBOM) (Layer, error) Other modules containing this package github.com/paketo-buildpacks/jam