Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) CreateGroup(ctx context.Context, in types.CreateGroupRequest) (*identity.Group, error)
- func (s *Service) DeleteGroup(ctx context.Context, group identity.Group) error
- func (s *Service) UpdateGroup(ctx context.Context, group identity.Group, in types.CreateGroupRequest) (*identity.Group, error)
- func (s *Service) UpdateUserGroups(ctx context.Context, user identity.User, groups []string) (*identity.User, error)
- type UserNotFoundError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrGroupNotFoundOrNotInternal error = errors.New("group not found or it is not internal")
View Source
var ErrNotInternal error = errors.New("cannot update group because it is not an internal group")
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service holds business logic relating to Access Requests.
func (*Service) CreateGroup ¶
func (*Service) DeleteGroup ¶
func (*Service) UpdateGroup ¶
type UserNotFoundError ¶
type UserNotFoundError struct {
UserID string
}
func (UserNotFoundError) Error ¶
func (e UserNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.