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

@ -50,27 +50,24 @@ 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
ShmSize opts.MemBytes
Ulimits *opts.UlimitOpt
NoCache bool NoCache bool
Target string
Platforms []specs.Platform Platforms []specs.Platform
Exports []client.ExportEntry Pull bool
Session []session.Attachable Session []session.Attachable
ShmSize opts.MemBytes
CacheFrom []client.CacheOptionsEntry Tags []string
CacheTo []client.CacheOptionsEntry Target string
Ulimits *opts.UlimitOpt
Allow []entitlements.Entitlement
// DockerTarget
} }
type Inputs struct { type Inputs struct {

Loading…
Cancel
Save