-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathPodmanComposeRestartOptions.Generated.cs
More file actions
47 lines (38 loc) · 1.27 KB
/
PodmanComposeRestartOptions.Generated.cs
File metadata and controls
47 lines (38 loc) · 1.27 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
// <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>
/// Restart service containers
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("compose", "restart")]
public record PodmanComposeRestartOptions : PodmanOptions
{
/// <summary>
/// Execute command in dry run mode
/// </summary>
[CliFlag("--dry-run")]
public bool? DryRun { get; set; }
/// <summary>
/// Don't restart dependent services
/// </summary>
[CliFlag("--no-deps")]
public bool? NoDeps { get; set; }
/// <summary>
/// Specify a shutdown timeout in seconds
/// </summary>
[CliOption("--timeout", ShortForm = "-t", Format = OptionFormat.EqualsSeparated)]
public int? Timeout { get; set; }
[CliArgument(0, Placement = ArgumentPlacement.BeforeOptions)]
public string? Options { get; set; }
[CliArgument(1, Placement = ArgumentPlacement.BeforeOptions)]
public string? Service { get; set; }
}