Documentation
¶
Overview ¶
Package workspace implements workspace persistence layer.
It is currently backed by a SQL db.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Drivers = service.StorageDrivers{}
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface {
resources.DAO
Migrate(ctx context.Context) error
// Add creates or updates a workspace in the database.
// It returns true in case of an update.
Add(context.Context, interface{}) (bool, error)
Del(context.Context, service2.Enquirer) (numRows int64, e error)
Search(context.Context, service2.Enquirer, *[]interface{}) error
}
DAO interface
Directories
¶
| Path | Synopsis |
|---|---|
|
dao
|
|
|
service
Package service provides the GRPC persistence for workspaces
|
Package service provides the GRPC persistence for workspaces |
|
Package rest provides a gateway to the underlying grpc service
|
Package rest provides a gateway to the underlying grpc service |
|
service
Package service provides a REST gateway to the workspaces
|
Package service provides a REST gateway to the workspaces |
Click to show internal directories.
Click to hide internal directories.