Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { Disconnect() ListInstances(ctx context.Context, limit int64, offset int64, sort string, jwt jwt.Token, asc bool, search string, includeGenerated bool) (result []model.Instance, err error) GetInstance(ctx context.Context, id string, jwt jwt.Token) (instance model.Instance, exists bool, err error) CreateInstance(ctx context.Context, instance model.Instance, jwt jwt.Token) error SetInstance(ctx context.Context, instance model.Instance, jwt jwt.Token) error RemoveInstance(ctx context.Context, id string, jwt jwt.Token) error CountInstances(ctx context.Context, jwt jwt.Token, search string, includeGenerated bool) (count int64, err error) }
Click to show internal directories.
Click to hide internal directories.