aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-25 06:46:17 -0400
committerGitHub <noreply@github.com>2020-05-25 06:46:17 -0400
commit1077d2d0b72d027a01080c0d3ebdb7d99a969661 (patch)
treefd6b32e485b0985cff943a2084258fd991a9ec35 /pkg/domain/entities
parent3fec749f56627fa955f8529392be2c1edcdab452 (diff)
parente704f1362abc416786076a932d8e2ca930b9fa2e (diff)
downloadpodman-1077d2d0b72d027a01080c0d3ebdb7d99a969661.tar.gz
podman-1077d2d0b72d027a01080c0d3ebdb7d99a969661.tar.bz2
podman-1077d2d0b72d027a01080c0d3ebdb7d99a969661.zip
Merge pull request #6321 from Luap99/podman-generate-systemd-unit-prefix
Allow to change the generated systemd unit name prefix
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/generate.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/domain/entities/generate.go b/pkg/domain/entities/generate.go
index edd217615..68a42d897 100644
--- a/pkg/domain/entities/generate.go
+++ b/pkg/domain/entities/generate.go
@@ -14,6 +14,12 @@ type GenerateSystemdOptions struct {
RestartPolicy string
// StopTimeout - time when stopping the container.
StopTimeout *uint
+ // ContainerPrefix - systemd unit name prefix for containers
+ ContainerPrefix string
+ // PodPrefix - systemd unit name prefix for pods
+ PodPrefix string
+ // Separator - systemd unit name seperator between name/id and prefix
+ Separator string
}
// GenerateSystemdReport