mirror of
https://github.com/moby/buildkit.git
synced 2026-08-04 06:40:22 +00:00
This breaking api change refactors the LLB API to prevent reference mangling and demangling throughout OCI access. Once the session and store IDs have been determined in the dockerfile frontend, we keep them the same, and attach them as additional properties. This has the additional effect of making the actual reference used in the image resolution arbitrary, since we only parse and access the digest. The rest of the name can be selected to optimize for log readability. Signed-off-by: Justin Chadwell <me@jedevc.com>
40 lines
1.3 KiB
Go
40 lines
1.3 KiB
Go
package pb
|
|
|
|
const AttrKeepGitDir = "git.keepgitdir"
|
|
const AttrFullRemoteURL = "git.fullurl"
|
|
const AttrAuthHeaderSecret = "git.authheadersecret"
|
|
const AttrAuthTokenSecret = "git.authtokensecret"
|
|
const AttrKnownSSHHosts = "git.knownsshhosts"
|
|
const AttrMountSSHSock = "git.mountsshsock"
|
|
const AttrLocalSessionID = "local.session"
|
|
const AttrLocalUniqueID = "local.unique"
|
|
const AttrIncludePatterns = "local.includepattern"
|
|
const AttrFollowPaths = "local.followpaths"
|
|
const AttrExcludePatterns = "local.excludepatterns"
|
|
const AttrSharedKeyHint = "local.sharedkeyhint"
|
|
|
|
const AttrLLBDefinitionFilename = "llbbuild.filename"
|
|
|
|
const AttrHTTPChecksum = "http.checksum"
|
|
const AttrHTTPFilename = "http.filename"
|
|
const AttrHTTPPerm = "http.perm"
|
|
const AttrHTTPUID = "http.uid"
|
|
const AttrHTTPGID = "http.gid"
|
|
|
|
const AttrImageResolveMode = "image.resolvemode"
|
|
const AttrImageResolveModeDefault = "default"
|
|
const AttrImageResolveModeForcePull = "pull"
|
|
const AttrImageResolveModePreferLocal = "local"
|
|
const AttrImageRecordType = "image.recordtype"
|
|
const AttrImageLayerLimit = "image.layerlimit"
|
|
|
|
const AttrOCILayoutSessionID = "oci.session"
|
|
const AttrOCILayoutStoreID = "oci.store"
|
|
const AttrOCILayoutLayerLimit = "oci.layerlimit"
|
|
|
|
const AttrLocalDiffer = "local.differ"
|
|
const AttrLocalDifferNone = "none"
|
|
const AttrLocalDifferMetadata = "metadata"
|
|
|
|
type IsFileAction = isFileAction_Action
|