types

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2018 License: Apache-2.0 Imports: 1 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDriverNotSupported     = errors.New("storage not supported yet, please choose one of")
	ErrDriverResourceNotFound = errors.New("storage resource not found.")
)

Functions

This section is empty.

Types

type Backend

type Backend string
const (
	//MONGO, mongodb driver.
	MONGO Backend = "mongo"
	//NGCLOUD, newegg clouddata driver.
	NGCLOUD Backend = "ngcloud"
)

type Parameters

type Parameters map[string]interface{}

Parameters is exported config optation key-value pairs

type StorageDriverConfigs

type StorageDriverConfigs map[string]Parameters

StorageDriverConfigs is exported driver configs.

Jump to

Keyboard shortcuts

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