summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/generate.go
blob: 6d65b52f8d71355a1412a5744ee40d3fd79b9864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package entities

// GenerateSystemdOptions control the generation of systemd unit files.
type GenerateSystemdOptions struct {
	// Files - generate files instead of printing to stdout.
	Files bool
	// Name - use container/pod name instead of its ID.
	Name bool
	// New - create a new container instead of starting a new one.
	New bool
	// RestartPolicy - systemd restart policy.
	RestartPolicy string
	// StopTimeout - time when stopping the container.
	StopTimeout *uint
}

// GenerateSystemdReport
type GenerateSystemdReport struct {
	// Output of the generate process. Either the generated files or their
	// entire content.
	Output string
}