web_server

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageApiHandler

type StorageApiHandler struct {
	// contains filtered or unexported fields
}

func NewStorageApiHandler

func NewStorageApiHandler(logger *log.Logger, backends map[string]resources.StorageClient, database *gorm.DB, config resources.UbiquityServerConfig) *StorageApiHandler

func (*StorageApiHandler) Activate

func (h *StorageApiHandler) Activate() http.HandlerFunc

func (*StorageApiHandler) AttachVolume

func (h *StorageApiHandler) AttachVolume() http.HandlerFunc

func (*StorageApiHandler) CreateVolume

func (h *StorageApiHandler) CreateVolume() http.HandlerFunc

func (*StorageApiHandler) DetachVolume

func (h *StorageApiHandler) DetachVolume() http.HandlerFunc

func (*StorageApiHandler) GetVolume

func (h *StorageApiHandler) GetVolume() http.HandlerFunc

func (*StorageApiHandler) GetVolumeConfig

func (h *StorageApiHandler) GetVolumeConfig() http.HandlerFunc

func (*StorageApiHandler) ListVolumes

func (h *StorageApiHandler) ListVolumes() http.HandlerFunc

func (*StorageApiHandler) RemoveVolume

func (h *StorageApiHandler) RemoveVolume() http.HandlerFunc

type StorageApiServer

type StorageApiServer struct {
	// contains filtered or unexported fields
}

func NewStorageApiServer

func NewStorageApiServer(logger *log.Logger, backends map[string]resources.StorageClient, config resources.UbiquityServerConfig, database *gorm.DB) (*StorageApiServer, error)

func (*StorageApiServer) InitializeHandler

func (s *StorageApiServer) InitializeHandler() http.Handler

func (*StorageApiServer) Start

func (s *StorageApiServer) Start(port int) error

Jump to

Keyboard shortcuts

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