Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("usergroup not found")
View Source
var WireSet = wire.NewSet( ProvideUserGroupResolver, ProvideSearchService, )
WireSet provides a wire set for this package.
Functions ¶
This section is empty.
Types ¶
type GitfoxResolver ¶
type GitfoxResolver struct {
}
func NewGitfoxResolver ¶
func NewGitfoxResolver() *GitfoxResolver
type Resolver ¶
func ProvideUserGroupResolver ¶
func ProvideUserGroupResolver() Resolver
type SearchService ¶
type SearchService interface {
Search(
ctx context.Context,
filter *types.ListQueryFilter,
spacePath string,
) ([]*types.UserGroupInfo, error)
ListUsers(
ctx context.Context,
session *auth.Session,
userGroup *types.UserGroup,
) ([]string, error)
ListUserIDsByGroupIDs(ctx context.Context, userGroupIDs []int64) ([]int64, error)
}
func NewSearchService ¶
func NewSearchService() SearchService
func ProvideSearchService ¶
func ProvideSearchService() SearchService
Click to show internal directories.
Click to hide internal directories.