-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathKindBuildNodeImageOptions.Generated.cs
More file actions
66 lines (55 loc) · 2.11 KB
/
KindBuildNodeImageOptions.Generated.cs
File metadata and controls
66 lines (55 loc) · 2.11 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
// <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.Kind.Options;
using ModularPipelines.Kind.Enums;
namespace ModularPipelines.Kind.Options;
/// <summary>
/// Build the node image which contains Kubernetes build artifacts and other kind requirements
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("build", "node-image")]
public record KindBuildNodeImageOptions : KindOptions
{
/// <summary>
/// architecture to build for, defaults to the host architecture
/// </summary>
[CliOption("--arch", Format = OptionFormat.EqualsSeparated)]
public string? Arch { get; set; }
/// <summary>
/// name:tag of the base image to use for the build (default "docker.io/kindest/base:v20260214-ea8e5717")
/// </summary>
[CliOption("--base-image", Format = OptionFormat.EqualsSeparated)]
public string? BaseImage { get; set; }
/// <summary>
/// help for node-image
/// </summary>
[CliFlag("--help", ShortForm = "-h")]
public bool? Help { get; set; }
/// <summary>
/// name:tag of the resulting image to be built (default "kindest/node:latest")
/// </summary>
[CliOption("--image", Format = OptionFormat.EqualsSeparated)]
public string? Image { get; set; }
/// <summary>
/// optionally specify one of 'url', 'file', 'release' or 'source' as the type of build
/// </summary>
[CliOption("--type", Format = OptionFormat.EqualsSeparated)]
public KindBuildNodeImageType? Type { get; set; }
/// <summary>
/// silence all stderr output
/// </summary>
[CliFlag("--quiet", ShortForm = "-q")]
public bool? Quiet { get; set; }
/// <summary>
/// info log verbosity, higher value produces more output
/// </summary>
[CliOption("--verbosity", ShortForm = "-v", Format = OptionFormat.EqualsSeparated)]
public int? Verbosity { get; set; }
}