-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathBuildahManifestPushOptions.Generated.cs
More file actions
119 lines (99 loc) · 3.87 KB
/
BuildahManifestPushOptions.Generated.cs
File metadata and controls
119 lines (99 loc) · 3.87 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
// <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 manifest lists and image indexes to registries.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("manifest", "push")]
public record BuildahManifestPushOptions : BuildahOptions
{
/// <summary>
/// add instances with selected compression while pushing
/// </summary>
[CliOption("--add-compression", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? AddCompression { get; set; }
/// <summary>
/// also push the images in the 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 digest to the file
/// </summary>
[CliOption("--digestfile", Format = OptionFormat.EqualsSeparated)]
public string? Digestfile { 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 or v2s2) to attempt to use when pushing the manifest list (default is manifest type of source)
/// </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 lists
/// </summary>
[CliFlag("--quiet", ShortForm = "-q")]
public bool? Quiet { get; set; }
/// <summary>
/// don't copy signatures when pushing images
/// </summary>
[CliFlag("--remove-signatures")]
public bool? RemoveSignatures { 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; }
}