-
Notifications
You must be signed in to change notification settings - Fork 116
/
drivers.go
27 lines (24 loc) · 865 Bytes
/
drivers.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package graphdrivers
import (
"github.com/libopenstorage/openstorage/api"
"github.com/libopenstorage/openstorage/graph/drivers/chainfs"
"github.com/libopenstorage/openstorage/graph/drivers/layer0"
"github.com/libopenstorage/openstorage/graph/drivers/proxy"
)
// Driver is the description of a supported OST driver. New Drivers are added to
// the drivers array
type Driver struct {
DriverType api.DriverType
Name string
}
var (
// AllDrivers is a slice of all existing known Drivers.
AllDrivers = []Driver{
// ChainFS driver implements a chained filesystem using FUSE.
{DriverType: chainfs.Type, Name: chainfs.Name},
// Layer0 driver provides persistent storage for the writable layer.
{DriverType: layer0.Type, Name: layer0.Name},
// Proxy driver simply uses the Docker overlay driver.
{DriverType: proxy.Type, Name: proxy.Name},
}
)