storage

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: MIT Imports: 1 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	Close() error
	Automigrate() error

	GetInstanceByUUID(uuid string) (*models.Instance, error)
	GetInstance(instanceID string) (*models.Instance, error)
	CreateInstance(instance *models.Instance) error
	DeleteInstance(instance *models.Instance) error
	UpdateInstance(instance *models.Instance) error
}

Connection is the interface a storage provider must implement.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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