diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-06 20:34:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 20:34:13 +0200 |
commit | 8b5df5b5d97facad5bb84fe4597bf7f0059c09fa (patch) | |
tree | 66296d6b47bc9627053bd0b3dadb07059cf711c6 /pkg/domain/entities/generate.go | |
parent | 22bf906e8cc440cb3c33b9eed620ae91f447b269 (diff) | |
parent | f269be3a314a0903bb74a20de0e93b4f274531e6 (diff) | |
download | podman-8b5df5b5d97facad5bb84fe4597bf7f0059c09fa.tar.gz podman-8b5df5b5d97facad5bb84fe4597bf7f0059c09fa.tar.bz2 podman-8b5df5b5d97facad5bb84fe4597bf7f0059c09fa.zip |
Merge pull request #6092 from vrothberg/v2-kube
add {generate,play} kube
Diffstat (limited to 'pkg/domain/entities/generate.go')
-rw-r--r-- | pkg/domain/entities/generate.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/domain/entities/generate.go b/pkg/domain/entities/generate.go index 6d65b52f8..edd217615 100644 --- a/pkg/domain/entities/generate.go +++ b/pkg/domain/entities/generate.go @@ -1,5 +1,7 @@ package entities +import "io" + // GenerateSystemdOptions control the generation of systemd unit files. type GenerateSystemdOptions struct { // Files - generate files instead of printing to stdout. @@ -20,3 +22,15 @@ type GenerateSystemdReport struct { // entire content. Output string } + +// GenerateKubeOptions control the generation of Kubernetes YAML files. +type GenerateKubeOptions struct { + // Service - generate YAML for a Kubernetes _service_ object. + Service bool +} + +// GenerateKubeReport +type GenerateKubeReport struct { + // Reader - the io.Reader to reader the generated YAML file. + Reader io.Reader +} |