Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is an implementation of the sandbox.FileSystem interface that merges OCI layers into a single view.
func New ¶
func New(layers ...sandbox.FileSystem) *FileSystem
New constructs a file system which combines layers into a flattened view which stacks layers on each other.
The returned file system is read-only, it does not allow modifications of the layers that it was constructed from. This includes writes to files as well as modifcations of the directory structure.
For the OCI layer specification, see: https://github.com/opencontainers/image-spec/blob/main/layer.md
Click to show internal directories.
Click to hide internal directories.