...

Package inmemory

import "github.com/docker/distribution/registry/storage/driver/inmemory"
Overview
Index

Overview ▾

Index ▾

Package files

driver.go mfs.go

type Driver

Driver is a storagedriver.StorageDriver implementation backed by a local map. Intended solely for example and testing purposes.

type Driver struct {
    // contains filtered or unexported fields
}

func New

func New() *Driver

New constructs a new Driver.