driver

package
v1.4.2-stable2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDriverMetadata

func GetDriverMetadata(store cstorage.Store, layerID string) (map[string]string, error)

GetDriverMetadata returns the metadata regarding the driver for the layer in the given store

func GetDriverName

func GetDriverName(store cstorage.Store) (string, error)

GetDriverName returns the name of the driver for the given store

Types

type Data added in v1.4.1

type Data struct {
	Name string            `json:"Name"`
	Data map[string]string `json:"Data"`
}

Data handles the data for a storage driver

func GetDriverData

func GetDriverData(store cstorage.Store, layerID string) (*Data, error)

GetDriverData returns the Data struct with information of the driver used by the store

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL