package
0.0.0-20240122153004-13bcfc5aacc5
Repository: https://github.com/stealthycoder/distribution.git
Documentation: pkg.go.dev

# Packages

Package azure provides a storagedriver.StorageDriver implementation to store blobs in Microsoft Azure Blob Storage Service.
Package base provides a base implementation of the storage driver that can be used to implement common checks.
No description provided by the author
No description provided by the author
Package gcs implements the Google Cloud Storage driver backend.
No description provided by the author
No description provided by the author
Package oss implements the Aliyun OSS Storage driver backend.
Package s3 provides a storagedriver.StorageDriver implementation to store blobs in Amazon S3 cloud storage.
Package swift provides a storagedriver.StorageDriver implementation to store blobs in Openstack Swift object storage.
No description provided by the author
No description provided by the author

# Functions

WalkFallback traverses a filesystem defined within driver, starting from the given path, calling f on each file.

# Constants

CurrentVersion is the current storage driver Version.

# Variables

ErrSkipDir is used as a return value from onFileFunc to indicate that the directory named in the call is to be skipped.
PathRegexp is the regular expression which each file path must match.

# Structs

Error is a catch-all error type which captures an error string and the driver type on which it occurred.
ErrUnsupportedMethod may be returned in the case where a StorageDriver implementation does not support an optional method.
FileInfoFields provides the exported fields for implementing FileInfo interface in storagedriver implementations.
FileInfoInternal implements the FileInfo interface.
No description provided by the author
InvalidOffsetError is returned when attempting to read or write from an invalid offset.
InvalidPathError is returned when the provided path is malformed.
PathNotFoundError is returned when operating on a nonexistent path.

# Interfaces

FileInfo returns information about a given path.
FileWriter provides an abstraction for an opened writable file-like object in the storage backend.
StorageDriver defines methods that a Storage Driver must implement for a filesystem-like key/value object storage.

# Type aliases

Version is a string representing the storage driver version, of the form Major.Minor.
WalkFn is called once per file by Walk.