Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface {
ListInstances(ctx context.Context, limit int64, offset int64, sort string, owner string, asc bool, search string, includeGenerated bool) (result []model.Instance, total int64, err error)
GetInstance(ctx context.Context, id string, owner string) (instance model.Instance, exists bool, err error)
SetInstance(ctx context.Context, instance model.Instance, owner string) error
GetInstances(ctx context.Context, ids []string, owner string) (result []model.Instance, allExist bool, err error)
RemoveInstances(ctx context.Context, ids []string, owner string) error
}
Click to show internal directories.
Click to hide internal directories.