mirror of
https://github.com/containers/podman.git
synced 2025-12-07 22:32:46 +08:00
Bump containers/common to latest main
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
18
vendor/github.com/containers/storage/drivers/driver.go
generated
vendored
18
vendor/github.com/containers/storage/drivers/driver.go
generated
vendored
@@ -196,6 +196,8 @@ type DriverWithDifferOutput struct {
|
||||
BigData map[string][]byte
|
||||
TarSplit []byte
|
||||
TOCDigest digest.Digest
|
||||
// RootDirMode is the mode of the root directory of the layer, if specified.
|
||||
RootDirMode *os.FileMode
|
||||
// Artifacts is a collection of additional artifacts
|
||||
// generated by the differ that the storage driver can use.
|
||||
Artifacts map[string]interface{}
|
||||
@@ -212,10 +214,26 @@ const (
|
||||
DifferOutputFormatFlat
|
||||
)
|
||||
|
||||
type DifferFsVerity int
|
||||
|
||||
const (
|
||||
// DifferFsVerityDisabled means no fs-verity is used
|
||||
DifferFsVerityDisabled = iota
|
||||
|
||||
// DifferFsVerityEnabled means fs-verity is used when supported
|
||||
DifferFsVerityEnabled
|
||||
|
||||
// DifferFsVerityRequired means fs-verity is required
|
||||
DifferFsVerityRequired
|
||||
)
|
||||
|
||||
// DifferOptions overrides how the differ work
|
||||
type DifferOptions struct {
|
||||
// Format defines the destination directory layout format
|
||||
Format DifferOutputFormat
|
||||
|
||||
// UseFsVerity defines whether fs-verity is used
|
||||
UseFsVerity DifferFsVerity
|
||||
}
|
||||
|
||||
// Differ defines the interface for using a custom differ.
|
||||
|
||||
Reference in New Issue
Block a user