Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Mgr is a global variable for the default robot account manager implementation Mgr = NewManager() )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Get ... Get(ctx context.Context, id int64) (*model.Robot, error) // Count returns the total count of robots according to the query Count(ctx context.Context, query *q.Query) (total int64, err error) // Create ... Create(ctx context.Context, m *model.Robot) (int64, error) // Delete ... Delete(ctx context.Context, id int64) error // DeleteByProjectID ... DeleteByProjectID(ctx context.Context, projectID int64) error // Update ... Update(ctx context.Context, m *model.Robot, props ...string) error // List ... List(ctx context.Context, query *q.Query) ([]*model.Robot, error) }
Manager ...
Click to show internal directories.
Click to hide internal directories.