-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathBuildahPushOptions.Generated.cs
More file actions
143 lines (119 loc) · 4.88 KB
/
BuildahPushOptions.Generated.cs
File metadata and controls
143 lines (119 loc) · 4.88 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
// <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.Buildah.Options;
namespace ModularPipelines.Buildah.Options;
/// <summary>
/// Pushes an image to a specified location.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("push")]
public record BuildahPushOptions : BuildahOptions
{
/// <summary>
/// push all of the images referenced by the manifest list
/// </summary>
[CliFlag("--all")]
public bool? All { get; set; }
/// <summary>
/// path of the authentication file. Use REGISTRY_AUTH_FILE environment variable to override
/// </summary>
[CliOption("--authfile", Format = OptionFormat.EqualsSeparated)]
public string? Authfile { get; set; }
/// <summary>
/// use certificates at the specified path to access the registry
/// </summary>
[CliOption("--cert-dir", Format = OptionFormat.EqualsSeparated)]
public string? CertDir { get; set; }
/// <summary>
/// compression format to use
/// </summary>
[CliOption("--compression-format", Format = OptionFormat.EqualsSeparated)]
public string? CompressionFormat { get; set; }
/// <summary>
/// compression level to use
/// </summary>
[CliOption("--compression-level", Format = OptionFormat.EqualsSeparated)]
public int? CompressionLevel { get; set; }
/// <summary>
/// use [username[:password]] for accessing the registry
/// </summary>
[CliOption("--creds", Format = OptionFormat.EqualsSeparated)]
public string? Creds { get; set; }
/// <summary>
/// after copying the image, write the digest of the resulting image to the file
/// </summary>
[CliOption("--digestfile", Format = OptionFormat.EqualsSeparated)]
public string? Digestfile { get; set; }
/// <summary>
/// don't compress layers
/// </summary>
[CliFlag("--disable-compression", ShortForm = "-D")]
public bool? DisableCompression { get; set; }
/// <summary>
/// layers to encrypt, 0-indexed layer indices with support for negative indexing (e.g. 0 is the first layer, -1 is the last layer). If not defined, will encrypt all layers if encryption-key flag is specified
/// </summary>
[CliOption("--encrypt-layer", Format = OptionFormat.EqualsSeparated)]
public string? EncryptLayer { get; set; }
/// <summary>
/// key with the encryption protocol to use needed to encrypt the image (e.g. jwe:/path/to/key.pem)
/// </summary>
[CliOption("--encryption-key", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? EncryptionKey { get; set; }
/// <summary>
/// use the specified compression algorithm if the destination contains a differently-compressed variant already
/// </summary>
[CliFlag("--force-compression")]
public bool? ForceCompression { get; set; }
/// <summary>
/// manifest type (oci, v2s1, or v2s2) to use in the destination (default is manifest type of source, with fallbacks)
/// </summary>
[CliOption("--format", ShortForm = "-f", Format = OptionFormat.EqualsSeparated)]
public string? Format { get; set; }
/// <summary>
/// help for push
/// </summary>
[CliFlag("--help", ShortForm = "-h")]
public bool? Help { get; set; }
/// <summary>
/// don't output progress information when pushing images
/// </summary>
[CliFlag("--quiet", ShortForm = "-q")]
public bool? Quiet { get; set; }
/// <summary>
/// don't copy signatures when pushing image
/// </summary>
[CliFlag("--remove-signatures")]
public bool? RemoveSignatures { get; set; }
/// <summary>
/// number of times to retry in case of failure when performing push/pull (default 3)
/// </summary>
[CliOption("--retry", Format = OptionFormat.EqualsSeparated)]
public int? Retry { get; set; }
/// <summary>
/// delay between retries in case of push/pull failures (default "2s")
/// </summary>
[CliOption("--retry-delay", Format = OptionFormat.EqualsSeparated)]
public string? RetryDelay { get; set; }
/// <summary>
/// remove the manifest list if push succeeds
/// </summary>
[CliFlag("--rm")]
public bool? Rm { get; set; }
/// <summary>
/// sign the image using a GPG key with the specified FINGERPRINT
/// </summary>
[CliOption("--sign-by", Format = OptionFormat.EqualsSeparated)]
public string? SignBy { get; set; }
/// <summary>
/// require HTTPS and verify certificates when accessing the registry. TLS verification cannot be used when talking to an insecure registry. (default true)
/// </summary>
[CliFlag("--tls-verify")]
public bool? TlsVerify { get; set; }
}