-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathPackerBuildOptions.Generated.cs
More file actions
108 lines (90 loc) · 3.27 KB
/
Copy pathPackerBuildOptions.Generated.cs
File metadata and controls
108 lines (90 loc) · 3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Source: https://developer.hashicorp.com/packer/docs/commands
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Packer.Options;
namespace ModularPipelines.Packer.Options;
/// <summary>
/// Will execute multiple builds in parallel as defined in the template.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("build")]
public record PackerBuildOptions : PackerOptions
{
/// <summary>
/// Disable color output. (Default: color)
/// </summary>
[CliFlag("--color")]
public bool? Color { get; set; }
/// <summary>
/// Debug mode enabled for builds.
/// </summary>
[CliFlag("--debug")]
public bool? Debug { get; set; }
/// <summary>
/// Run all builds and post-processors other than these.
/// </summary>
[CliOption("--except", Format = OptionFormat.EqualsSeparated)]
public string? Except { get; set; }
/// <summary>
/// Build only the specified builds.
/// </summary>
[CliOption("--only", Format = OptionFormat.EqualsSeparated)]
public string? Only { get; set; }
/// <summary>
/// Force a build to continue if artifacts exist, deletes existing artifacts.
/// </summary>
[CliFlag("--force")]
public bool? Force { get; set; }
/// <summary>
/// Produce machine-readable output.
/// </summary>
[CliFlag("--machine-readable")]
public bool? MachineReadable { get; set; }
/// <summary>
/// Number of builds to run in parallel. 1 disables parallelization. 0 means no limit (Default: 0)
/// </summary>
[CliOption("--parallel-builds", Format = OptionFormat.EqualsSeparated)]
public string? ParallelBuilds { get; set; }
/// <summary>
/// Enable prefixing of each ui output with an RFC3339 timestamp.
/// </summary>
[CliFlag("--timestamp-ui")]
public bool? TimestampUi { get; set; }
/// <summary>
/// Variable for templates, can be used multiple times.
/// </summary>
[CliFlag("--var")]
public bool? Var { get; set; }
/// <summary>
/// JSON or HCL2 file containing user variables, can be used multiple times.
/// </summary>
[CliOption("--var-file", Format = OptionFormat.EqualsSeparated)]
public string? VarFile { get; set; }
/// <summary>
/// Display warnings for user variable files containing undeclared variables.
/// </summary>
[CliFlag("--warn-on-undeclared-var")]
public bool? WarnOnUndeclaredVar { get; set; }
/// <summary>
/// Disable the loading of prerelease plugin binaries (x.y.z-dev).
/// </summary>
[CliFlag("--ignore-prerelease-plugins")]
public bool? IgnorePrereleasePlugins { get; set; }
/// <summary>
/// Fallback to using a sequential approach for local/datasource evaluation.
/// </summary>
[CliFlag("--use-sequential-evaluation")]
public bool? UseSequentialEvaluation { get; set; }
/// <summary>
/// Skip injection of HCP Packer enforced provisioners.
/// </summary>
[CliFlag("--skip-enforcement")]
public bool? SkipEnforcement { get; set; }
}