Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOpts ¶
type BuildOpts struct {
ImageName string
Platform string
TarFile string
BuildArgs map[string]string
Secrets map[string][]byte
Labels map[string]string
Cache cache.BuildkitCache
BuildContext build_context.BuildContext
// RegistryRef is the full image reference to push to (e.g. "localhost:8500/ubuntu:22.04.linux-amd64").
// When set, BuildKit pushes directly to the registry via the image exporter.
RegistryRef string
// RegistryInsecure allows pushing over HTTP (for local registries).
RegistryInsecure bool
// OCIStores maps store IDs to content stores for OCI layout named contexts.
// Used to resolve inter-image dependencies without a registry.
OCIStores map[string]content.Store
// NamedContexts maps frontend attribute keys (e.g. "context:__hive__/ubuntu:22.04")
// to OCI layout references (e.g. "oci-layout:hive-ubuntu-22.04@sha256:...").
NamedContexts map[string]string
}
Click to show internal directories.
Click to hide internal directories.