package
0.1.1
Repository: https://github.com/gepis/strge.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DefaultStoreOptions returns the default storage ops for containers.
DefaultStoreOptionsAutoDetectUID returns the default storage ops for containers.
GetRootlessRuntimeDir returns the runtime directory when running as non root.
No description provided by the author
ParseIDMapping takes idmappings and subuid and subgid maps and returns a storage mapping.
ReloadConfigurationFile parses the specified configuration file and overrides the configuration in storeOptions.
No description provided by the author
SetDefaultConfigFilePath sets the default configuration to the specified path.

# Variables

ErrContainerUnknown indicates that there was no container with the specified name or ID.
ErrDigestUnknown indicates that we were unable to compute the digest of a specified item.
ErrDuplicateID indicates that an ID which is to be assigned to a new item is already being used.
ErrDuplicateImageNames indicates that the read-only store uses the same name for multiple images.
ErrDuplicateLayerNames indicates that the read-only store uses the same name for multiple layers.
ErrDuplicateName indicates that a name which is to be assigned to a new item is already being used.
ErrImageUnknown indicates that there was no image with the specified name or ID.
ErrImageUsedByContainer is returned when the caller attempts to delete an image that is a container's image.
ErrIncompleteOptions is returned when the caller attempts to initialize a Store without providing required information.
ErrInvalidBigDataName indicates that the name for a big data item is not acceptable; it may be empty.
ErrLayerHasChildren is returned when the caller attempts to delete a layer that has children.
ErrLayerNotMounted is returned when the requested information can only be computed for a mounted layer, and the layer is not mounted.
ErrLayerUnknown indicates that there was no layer with the specified name or ID.
ErrLayerUsedByContainer is returned when the caller attempts to delete a layer that is a container's layer.
ErrLayerUsedByImage is returned when the caller attempts to delete a layer that is an image's top layer.
ErrLoadError indicates that there was an initialization error.
ErrNotAContainer is returned when the caller attempts to delete a container that isn't a container.
ErrNotALayer is returned when the caller attempts to delete a layer that isn't a layer.
ErrNotAnID is returned when the caller attempts to read or write metadata from an item that doesn't exist.
ErrNotAnImage is returned when the caller attempts to delete an image that isn't an image.
ErrNotSupported is returned when the requested functionality is not supported.
ErrParentIsContainer is returned when a caller attempts to create a layer as a child of a container's layer.
ErrParentUnknown indicates that we didn't record the ID of the parent of the specified layer.
ErrSizeUnknown is returned when the caller asks for the size of a big data item, but the Store couldn't determine the answer.
ErrStoreIsReadOnly is returned when the caller makes a call to a read-only store that would require modifying its contents.

# Structs

AutoUserNsOptions defines how to automatically create a user namespace.
IDMappingOptions are used for specifying how ID mapping should be set up for a layer or container.
StoreOptions is used for passing initialization options to GetStore(), for initializing a Store object and the underlying storage that it controls.