diff options
author | Jhon Honce <jhonce@redhat.com> | 2022-05-26 16:24:10 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2022-05-26 16:31:15 -0700 |
commit | 8efdbf5c4c95ece4237aa8ca75f8b0876e65113f (patch) | |
tree | 70bc32e3127943269aade4f683dd75f94b65224c /pkg/domain/entities | |
parent | 1736f2fe607a82d066497aba330d6a81a07f5164 (diff) | |
download | podman-8efdbf5c4c95ece4237aa8ca75f8b0876e65113f.tar.gz podman-8efdbf5c4c95ece4237aa8ca75f8b0876e65113f.tar.bz2 podman-8efdbf5c4c95ece4237aa8ca75f8b0876e65113f.zip |
Add API support for NoOverwriteDirNonDir
Update method signatures and structs to pass option to buildah code
```release-note
NONE
```
[NO NEW TESTS NEEDED]
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/containers.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go index 1db8b9951..37711ca58 100644 --- a/pkg/domain/entities/containers.go +++ b/pkg/domain/entities/containers.go @@ -47,8 +47,7 @@ type ContainerRunlabelOptions struct { } // ContainerRunlabelReport contains the results from executing container-runlabel. -type ContainerRunlabelReport struct { -} +type ContainerRunlabelReport struct{} type WaitOptions struct { Condition []define.ContainerStatus @@ -165,6 +164,9 @@ type CopyOptions struct { Chown bool // Map to translate path names. Rename map[string]string + // NoOverwriteDirNonDir when true prevents an existing directory or file from being overwritten + // by the other type + NoOverwriteDirNonDir bool } type CommitReport struct { |