-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathBuildahCopyOptions.Generated.cs
More file actions
83 lines (69 loc) · 2.6 KB
/
BuildahCopyOptions.Generated.cs
File metadata and controls
83 lines (69 loc) · 2.6 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
// <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>
/// Copies the contents of a file, URL, or directory into a container's working
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("copy")]
public record BuildahCopyOptions : BuildahOptions
{
/// <summary>
/// add an entry for this operation to the image's history. Use BUILDAH_HISTORY environment variable to override. (default false)
/// </summary>
[CliFlag("--add-history")]
public bool? AddHistory { get; set; }
/// <summary>
/// set the access permissions of the destination content
/// </summary>
[CliOption("--chmod", Format = OptionFormat.EqualsSeparated)]
public string? Chmod { get; set; }
/// <summary>
/// set the user and group ownership of the destination content
/// </summary>
[CliOption("--chown", Format = OptionFormat.EqualsSeparated)]
public string? Chown { get; set; }
/// <summary>
/// context directory path
/// </summary>
[CliOption("--contextdir", Format = OptionFormat.EqualsSeparated)]
public string? Contextdir { get; set; }
/// <summary>
/// use the specified container's or image's root directory as the source root directory
/// </summary>
[CliOption("--from", Format = OptionFormat.EqualsSeparated)]
public string? From { get; set; }
/// <summary>
/// help for copy
/// </summary>
[CliFlag("--help", ShortForm = "-h")]
public bool? Help { get; set; }
/// <summary>
/// path to .containerignore file
/// </summary>
[CliOption("--ignorefile", Format = OptionFormat.EqualsSeparated)]
public string? Ignorefile { get; set; }
/// <summary>
/// don't output a digest of the newly-added/copied content
/// </summary>
[CliFlag("--quiet", ShortForm = "-q")]
public bool? Quiet { get; set; }
/// <summary>
/// number of times to retry in case of failure when performing pull (default 3)
/// </summary>
[CliOption("--retry", Format = OptionFormat.EqualsSeparated)]
public int? Retry { get; set; }
/// <summary>
/// delay between retries in case of pull failures (default "2s")
/// </summary>
[CliOption("--retry-delay", Format = OptionFormat.EqualsSeparated)]
public string? RetryDelay { get; set; }
}