refactor: lexical order for build opts

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-10-27 23:42:16 +02:00
parent 4690e14c40
commit 2890209a11
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -49,28 +49,25 @@ var (
)
type Options struct {
Inputs Inputs
Tags []string
Labels map[string]string
Inputs Inputs
Allow []entitlements.Entitlement
BuildArgs map[string]string
Pull bool
ImageIDFile 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
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 {