mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 09:17:49 +08:00
refactor: lexical order for build opts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
4690e14c40
commit
2890209a11
@ -50,27 +50,24 @@ var (
|
|||||||
|
|
||||||
type Options struct {
|
type Options struct {
|
||||||
Inputs Inputs
|
Inputs Inputs
|
||||||
Tags []string
|
|
||||||
Labels map[string]string
|
|
||||||
BuildArgs map[string]string
|
|
||||||
Pull bool
|
|
||||||
ImageIDFile string
|
|
||||||
ExtraHosts []string
|
|
||||||
NetworkMode string
|
|
||||||
ShmSize opts.MemBytes
|
|
||||||
Ulimits *opts.UlimitOpt
|
|
||||||
|
|
||||||
NoCache bool
|
|
||||||
Target string
|
|
||||||
Platforms []specs.Platform
|
|
||||||
Exports []client.ExportEntry
|
|
||||||
Session []session.Attachable
|
|
||||||
|
|
||||||
CacheFrom []client.CacheOptionsEntry
|
|
||||||
CacheTo []client.CacheOptionsEntry
|
|
||||||
|
|
||||||
Allow []entitlements.Entitlement
|
Allow []entitlements.Entitlement
|
||||||
// DockerTarget
|
BuildArgs map[string]string
|
||||||
|
CacheFrom []client.CacheOptionsEntry
|
||||||
|
CacheTo []client.CacheOptionsEntry
|
||||||
|
Exports []client.ExportEntry
|
||||||
|
ExtraHosts []string
|
||||||
|
ImageIDFile string
|
||||||
|
Labels map[string]string
|
||||||
|
NetworkMode string
|
||||||
|
NoCache bool
|
||||||
|
Platforms []specs.Platform
|
||||||
|
Pull bool
|
||||||
|
Session []session.Attachable
|
||||||
|
ShmSize opts.MemBytes
|
||||||
|
Tags []string
|
||||||
|
Target string
|
||||||
|
Ulimits *opts.UlimitOpt
|
||||||
}
|
}
|
||||||
|
|
||||||
type Inputs struct {
|
type Inputs struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user