Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = Options{ Arch: types.ParseArchitecture(runtime.GOARCH), SourceDateEpoch: time.Unix(0, 0).UTC(), Auth: auth.DefaultAuthenticators, SharedCache: apk.NewCache(false), }
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
WithVCS bool `json:"withVCS,omitempty"`
// ImageConfigFile might, but does not have to be a filename. It might be any abstract configuration identifier.
ImageConfigFile string `json:"imageConfigFile,omitempty"`
// ImageConfigChecksum (when set) allows to detect mismatch between configuration and the lockfile.
ImageConfigChecksum string `json:"configChecksum,omitempty"`
TarballPath string `json:"tarballPath,omitempty"`
Tags []string `json:"tags,omitempty"`
SourceDateEpoch time.Time `json:"sourceDateEpoch,omitempty"`
SBOMPath string `json:"sbomPath,omitempty"`
SBOMGenerators []generator.Generator `json:"-"`
ExtraKeyFiles []string `json:"extraKeyFiles,omitempty"`
ExtraBuildRepos []string `json:"extraBuildRepos,omitempty"`
ExtraRepos []string `json:"extraRepos,omitempty"`
ExtraPackages []string `json:"extraPackages,omitempty"`
Arch types.Architecture `json:"arch,omitempty"`
TempDirPath string `json:"tempDirPath,omitempty"`
PackageVersionTag string `json:"packageVersionTag,omitempty"`
PackageVersionTagStem bool `json:"packageVersionTagStem,omitempty"`
PackageVersionTagPrefix string `json:"packageVersionTagPrefix,omitempty"`
TagSuffix string `json:"tagSuffix,omitempty"`
Local bool `json:"local,omitempty"`
CacheDir string `json:"cacheDir,omitempty"`
Offline bool `json:"offline,omitempty"`
Lockfile string `json:"lockfile,omitempty"`
Auth auth.Authenticator `json:"-"`
IncludePaths []string `json:"includePaths,omitempty"`
IgnoreSignatures bool `json:"ignoreSignatures,omitempty"`
Transport http.RoundTripper `json:"-"`
}
func (Options) TarballFileName ¶ added in v0.5.0
TarballFileName returns a deterministic filename for the layer taball
Click to show internal directories.
Click to hide internal directories.