-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathPodmanCommitOptions.Generated.cs
More file actions
86 lines (71 loc) · 2.71 KB
/
PodmanCommitOptions.Generated.cs
File metadata and controls
86 lines (71 loc) · 2.71 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
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Podman.Options;
namespace ModularPipelines.Podman.Options;
/// <summary>
/// Create new image based on the changed container
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("commit")]
public record PodmanCommitOptions : PodmanOptions
{
/// <summary>
/// Set the author for the image committed
/// </summary>
[CliOption("--author", ShortForm = "-a", Format = OptionFormat.EqualsSeparated)]
public string? Author { get; set; }
/// <summary>
/// Apply the following possible instructions to the created image (default []): CMD | ENTRYPOINT | ENV | EXPOSE | LABEL | ONBUILD | STOPSIGNAL | USER | VOLUME | WORKDIR
/// </summary>
[CliOption("--change", ShortForm = "-c", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? Change { get; set; }
/// <summary>
/// file containing a container configuration to merge into the image
/// </summary>
[CliOption("--config", Format = OptionFormat.EqualsSeparated)]
public string? Config { get; set; }
/// <summary>
/// Format of the image manifest and metadata (default "oci")
/// </summary>
[CliOption("--format", ShortForm = "-f", Format = OptionFormat.EqualsSeparated)]
public string? Format { get; set; }
/// <summary>
/// file to write the image ID to
/// </summary>
[CliOption("--iidfile", Format = OptionFormat.EqualsSeparated)]
public string? Iidfile { get; set; }
/// <summary>
/// Include container volumes as image volumes
/// </summary>
[CliFlag("--include-volumes")]
public bool? IncludeVolumes { get; set; }
/// <summary>
/// Set commit message for imported image
/// </summary>
[CliOption("--message", ShortForm = "-m", Format = OptionFormat.EqualsSeparated)]
public string? Message { get; set; }
/// <summary>
/// Pause container during commit
/// </summary>
[CliFlag("--pause", ShortForm = "-p")]
public bool? Pause { get; set; }
/// <summary>
/// Suppress output
/// </summary>
[CliFlag("--quiet", ShortForm = "-q")]
public bool? Quiet { get; set; }
/// <summary>
/// squash newly built layers into a single new layer
/// </summary>
[CliFlag("--squash", ShortForm = "-s")]
public bool? Squash { get; set; }
[CliArgument(0, Placement = ArgumentPlacement.BeforeOptions)]
public string? Image { get; set; }
}