Get desktop application:
View/edit binary Protocol Buffers messages
BuildInput is used for BuildOp.
Used in:
BuildOp is used for nested build invocation. BuildOp is experimental and can break without backwards compatibility
Used in:
outputs
CacheOpt defines options specific to cache mounts
Used in:
ID is an optional namespace for the mount
Sharing is the sharing mode for the mount
CacheSharingOpt defines different sharing modes for cache mount
Used in:
SHARED cache mount can be used concurrently by multiple writers
PRIVATE creates a new mount if there are multiple writers
LOCKED pauses second writer until first one releases the mount
Used in:
, ,Definition is the LLB definition structure with per-vertex metadata entries
Used in:
, , ,def is a list of marshaled Op messages
metadata contains metadata for the each of the Op messages. A key must be an LLB op digest string. Currently, empty string is not expected as a key, but it may change in the future.
ExecOp executes a command in a container.
Used in:
Used in:
Used in:
could be real input or target (target index + max input index)
--//--
FileActionCopy copies files from secondaryInput on top of input
FileActionMkFile creates a new file
FileActionMkDir creates a new directory
FileActionRm removes a file
Used in:
src is the source path
dest path
optional owner override
optional permission bits override
followSymlink resolves symlinks in src
dirCopyContents only copies contents if src is a directory
attemptUnpackDockerCompatibility detects if src is an archive to unpack it instead
createDestPath creates dest path directories if needed
allowWildcard allows filepath.Match wildcards in src path
allowEmptyWildcard doesn't fail the whole copy if wildcard doesn't resolve to files
optional created time override
Used in:
path for the new directory
permission bits
makeParents creates parent directories as well if needed
optional owner for the new directory
optional created time override
Used in:
path for the new file
permission bits
data is the new file contents
optional owner for the new file
optional created time override
Used in:
path to remove
allowNotFound doesn't fail the rm if file is not found
allowWildcard allows filepath.Match wildcards in path
Used in:
Used in:
Input represents an input edge for an Op.
Used in:
digest of the marshaled input Op
output index of the input Op
Meta is a set of arguments for ExecOp. Meta is unrelated to LLB metadata. FIXME: rename (ExecContext? ExecArgs?)
Used in:
Mount specifies how to mount an input Op as a filesystem.
Used in:
MountType defines a type of a mount from a supported set
Used in:
Used in:
Used in:
sandbox
Op represents a vertex of the LLB DAG.
inputs is a set of input edges.
OpMetadata is a per-vertex metadata entry, which can be defined for arbitrary Op vertex and overridable on the run time.
Used in:
ignore_cache specifies to ignore the cache for this Op.
Description can be used for keeping any text fields that builder doesn't parse
index 3 reserved for WorkerConstraint in previous versions WorkerConstraint worker_constraint = 3;
Platform is github.com/opencontainers/image-spec/specs-go/v1.Platform
Used in:
, ,unused
unused
Used in:
SSHOpt defines options describing secret mounts
Used in:
ID of exposed ssh rule. Used for quering the value.
UID of agent socket
GID of agent socket
Mode is the filesystem mode of agent socket
Optional defines if ssh socket is required. Error is produced if client does not expose ssh.
SecretOpt defines options describing secret mounts
Used in:
ID of secret. Used for quering the value.
UID of secret file
GID of secret file
Mode is the filesystem mode of secret file
Optional defines if secret value is required. Error is produced if value is not found and optional is false.
Used in:
privileged mode
SourceOp specifies a source such as build contexts and images.
Used in:
TODO: use source type or any type instead of URL protocol. identifier e.g. local://, docker-image://, git://, https://...
attrs are defined in attr.go
Used in:
WorkerConstraints defines conditions for the worker
Used in:
containerd-style filter