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 ¶
Click to show internal directories.
Click to hide internal directories.