Documentation ¶
Index ¶
- Variables
- type DB
- func (db *DB) CreateService(ctx context.Context, s *gpmv1.Service) (*gpmv1.Service, error)
- func (db *DB) DeleteService(ctx context.Context, name string) error
- func (db *DB) FindAllServices(ctx context.Context) ([]*gpmv1.Service, error)
- func (db *DB) FindService(ctx context.Context, name string) (*gpmv1.Service, error)
- func (db *DB) ListServiceVersion(ctx context.Context, name string) ([]*gpmv1.ServiceVersion, error)
- func (db *DB) UpdateService(ctx context.Context, s *gpmv1.Service) (*gpmv1.Service, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTimeout = errors.New("db request resource timeout") ErrNotFound = errors.New("resource not found") )
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct{}
func (*DB) CreateService ¶
func (*DB) FindAllServices ¶
func (*DB) FindService ¶
func (*DB) ListServiceVersion ¶
Click to show internal directories.
Click to hide internal directories.