Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { GetByID(ctx context.Context, id uint) (*models.Application, error) GetByIDIncludeSoftDelete(ctx context.Context, id uint) (*models.Application, error) GetByIDs(ctx context.Context, ids []uint) ([]*models.Application, error) GetByGroupIDs(ctx context.Context, groupIDs []uint) ([]*models.Application, error) GetByName(ctx context.Context, name string) (*models.Application, error) GetByNameFuzzily(ctx context.Context, name string) ([]*models.Application, error) // GetByNameFuzzily get applications that fuzzily matching the given name GetByNameFuzzilyIncludeSoftDelete(ctx context.Context, name string) ([]*models.Application, error) Create(ctx context.Context, application *models.Application, extraMembers map[string]string) (*models.Application, error) UpdateByID(ctx context.Context, id uint, application *models.Application) (*models.Application, error) DeleteByID(ctx context.Context, id uint) error Transfer(ctx context.Context, id uint, groupID uint) error List(ctx context.Context, groupIDs []uint, query *q.Query) (int, []*models.Application, error) }
nolint
Click to show internal directories.
Click to hide internal directories.