Documentation
¶
Index ¶
- Constants
- func NewProxyRegistry(ctx context.Context, rootdir, domain string) (distribution.Namespace, error)
- func NewProxyRegistryWithAuth(ctx context.Context, username, password, rootdir, domain string) (distribution.Namespace, error)
- type DefaultImageSaver
- type Driver
- type DriverParameters
- type ImageListWithAuth
- type ImageSave
- type Named
- type Section
Constants ¶
View Source
const ( HTTPS = "https://" HTTP = "http://" )
Variables ¶
This section is empty.
Functions ¶
func NewProxyRegistry ¶
Types ¶
type DefaultImageSaver ¶
type DefaultImageSaver struct {
// contains filtered or unexported fields
}
func (*DefaultImageSaver) SaveImages ¶
func (*DefaultImageSaver) SaveImagesWithAuth ¶
func (is *DefaultImageSaver) SaveImagesWithAuth(imageList ImageListWithAuth, dir string, platform v1.Platform) error
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver is a storage driver.StorageDriver implementation backed by a local filesystem. All provided paths will be sub paths of the RootDirectory.
func FromParameters ¶
FromParameters constructs a new Driver with a given parameters map Optional Parameters: - rootdirectory - maxthreads
func New ¶
func New(params DriverParameters) *Driver
New constructs a new Driver with a given rootDirectory
type DriverParameters ¶
DriverParameters represents all configuration options available for the filesystem driver
type ImageListWithAuth ¶
type ImageListWithAuth []Section
type ImageSave ¶
type ImageSave interface { // SaveImages is not concurrently safe SaveImages(images []string, dir string, platform v1.Platform) error }
ImageSave can save a list of images of the specified platform
func NewImageSaver ¶
Click to show internal directories.
Click to hide internal directories.