localhost

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalhostLocalClient

func NewLocalhostLocalClient(logger *log.Logger, config resources.UbiquityServerConfig, database *gorm.DB) (resources.StorageClient, error)

Types

type LocalhostDataModel

type LocalhostDataModel interface {
	CreateVolumeTable() error
	DeleteVolume(name string) error
	InsertVolume(volume resources.Volume) error
	GetVolume(name string) (resources.Volume, bool, error)
	ListVolumes() ([]resources.Volume, error)
	UpdateVolumeMountpoint(name string, mountpoint string) error
}

func NewLocalhostDataModel

func NewLocalhostDataModel(log *log.Logger, db *gorm.DB, backend string) LocalhostDataModel

Jump to

Keyboard shortcuts

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