refactor: lexical order for build opts

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/814/head
CrazyMax 3 years ago
parent 4690e14c40
commit 2890209a11
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -49,28 +49,25 @@ var (
) )
type Options struct { type Options struct {
Inputs Inputs Inputs Inputs
Tags []string
Labels map[string]string Allow []entitlements.Entitlement
BuildArgs map[string]string BuildArgs map[string]string
Pull bool CacheFrom []client.CacheOptionsEntry
ImageIDFile string CacheTo []client.CacheOptionsEntry
Exports []client.ExportEntry
ExtraHosts []string ExtraHosts []string
ImageIDFile string
Labels map[string]string
NetworkMode string NetworkMode string
NoCache bool
Platforms []specs.Platform
Pull bool
Session []session.Attachable
ShmSize opts.MemBytes ShmSize opts.MemBytes
Tags []string
Target string
Ulimits *opts.UlimitOpt 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
// DockerTarget
} }
type Inputs struct { type Inputs struct {

Loading…
Cancel
Save