summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-11 08:53:00 -0400
committerGitHub <noreply@github.com>2020-06-11 08:53:00 -0400
commitb62e50f53b9e65c86e877bb931fa53602eba53c7 (patch)
treee1e90e90f67c22c7fabe1f426ce9a3e512627675 /pkg/domain/entities
parent09e4faa7dfa99719d67039a9e39bebb5376d9ecb (diff)
parent162c1d812bd875a015c428119eac7fbabbe6c8ff (diff)
downloadpodman-b62e50f53b9e65c86e877bb931fa53602eba53c7.tar.gz
podman-b62e50f53b9e65c86e877bb931fa53602eba53c7.tar.bz2
podman-b62e50f53b9e65c86e877bb931fa53602eba53c7.zip
Merge pull request #6256 from theunrealgeek/play_kube_deployment
Support k8s Deployment in play kube
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/play.go14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkg/domain/entities/play.go b/pkg/domain/entities/play.go
index 4f485cbee..0823bc64e 100644
--- a/pkg/domain/entities/play.go
+++ b/pkg/domain/entities/play.go
@@ -26,12 +26,18 @@ type PlayKubeOptions struct {
SeccompProfileRoot string
}
-// PlayKubeReport contains the results of running play kube.
-type PlayKubeReport struct {
- // Pod - the ID of the created pod.
- Pod string
+// PlayKubePod represents a single pod and associated containers created by play kube
+type PlayKubePod struct {
+ // ID - ID of the pod created as a result of play kube.
+ ID string
// Containers - the IDs of the containers running in the created pod.
Containers []string
// Logs - non-fatal erros and log messages while processing.
Logs []string
}
+
+// PlayKubeReport contains the results of running play kube.
+type PlayKubeReport struct {
+ // Pods - pods created by play kube.
+ Pods []PlayKubePod
+}