summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/system.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-04 18:13:21 +0200
committerGitHub <noreply@github.com>2021-06-04 18:13:21 +0200
commitcdf26a3d5677e0372e8892f85a8fd6065d512bcf (patch)
treefd499393b681028d6bd44022513ecc70d953521d /pkg/domain/entities/system.go
parentc361a3886e28eabbefe403323d4d65663f284ea5 (diff)
parent2810c478a7f2497fad1300ce63c8476bb50a6ad0 (diff)
downloadpodman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.tar.gz
podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.tar.bz2
podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.zip
Merge pull request #10546 from boaz0/closes_8645
Add CORS support
Diffstat (limited to 'pkg/domain/entities/system.go')
-rw-r--r--pkg/domain/entities/system.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/domain/entities/system.go b/pkg/domain/entities/system.go
index 31a6185dc..cca4bf44e 100644
--- a/pkg/domain/entities/system.go
+++ b/pkg/domain/entities/system.go
@@ -11,9 +11,10 @@ import (
// ServiceOptions provides the input for starting an API Service
type ServiceOptions struct {
- URI string // Path to unix domain socket service should listen on
- Timeout time.Duration // duration of inactivity the service should wait before shutting down
- Command *cobra.Command // CLI command provided. Used in V1 code
+ URI string // Path to unix domain socket service should listen on
+ Timeout time.Duration // duration of inactivity the service should wait before shutting down
+ Command *cobra.Command // CLI command provided. Used in V1 code
+ CorsHeaders string // CORS headers
}
// SystemPruneOptions provides options to prune system.