Documentation ¶
Index ¶
- type Service
- func (s Service) AddGroupMembers(ctx context.Context, req *pbs.AddGroupMembersRequest) (*pbs.AddGroupMembersResponse, error)
- func (s Service) CreateGroup(ctx context.Context, req *pbs.CreateGroupRequest) (*pbs.CreateGroupResponse, error)
- func (s Service) DeleteGroup(ctx context.Context, req *pbs.DeleteGroupRequest) (*pbs.DeleteGroupResponse, error)
- func (s Service) GetGroup(ctx context.Context, req *pbs.GetGroupRequest) (*pbs.GetGroupResponse, error)
- func (s Service) ListGroups(ctx context.Context, req *pbs.ListGroupsRequest) (*pbs.ListGroupsResponse, error)
- func (s Service) RemoveGroupMembers(ctx context.Context, req *pbs.RemoveGroupMembersRequest) (*pbs.RemoveGroupMembersResponse, error)
- func (s Service) SetGroupMembers(ctx context.Context, req *pbs.SetGroupMembersRequest) (*pbs.SetGroupMembersResponse, error)
- func (s Service) UpdateGroup(ctx context.Context, req *pbs.UpdateGroupRequest) (*pbs.UpdateGroupResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pbs.UnimplementedGroupServiceServer // contains filtered or unexported fields }
Service handles request as described by the pbs.GroupServiceServer interface.
func NewService ¶
func NewService(repo common.IamRepoFactory) (Service, error)
NewService returns a group service which handles group related requests to boundary.
func (Service) AddGroupMembers ¶
func (s Service) AddGroupMembers(ctx context.Context, req *pbs.AddGroupMembersRequest) (*pbs.AddGroupMembersResponse, error)
AddGroupMembers implements the interface pbs.GroupServiceServer.
func (Service) CreateGroup ¶
func (s Service) CreateGroup(ctx context.Context, req *pbs.CreateGroupRequest) (*pbs.CreateGroupResponse, error)
CreateGroup implements the interface pbs.GroupServiceServer.
func (Service) DeleteGroup ¶
func (s Service) DeleteGroup(ctx context.Context, req *pbs.DeleteGroupRequest) (*pbs.DeleteGroupResponse, error)
DeleteGroup implements the interface pbs.GroupServiceServer.
func (Service) GetGroup ¶
func (s Service) GetGroup(ctx context.Context, req *pbs.GetGroupRequest) (*pbs.GetGroupResponse, error)
GetGroups implements the interface pbs.GroupServiceServer.
func (Service) ListGroups ¶
func (s Service) ListGroups(ctx context.Context, req *pbs.ListGroupsRequest) (*pbs.ListGroupsResponse, error)
ListGroups implements the interface pbs.GroupServiceServer.
func (Service) RemoveGroupMembers ¶
func (s Service) RemoveGroupMembers(ctx context.Context, req *pbs.RemoveGroupMembersRequest) (*pbs.RemoveGroupMembersResponse, error)
RemoveGroupMembers implements the interface pbs.GroupServiceServer.
func (Service) SetGroupMembers ¶
func (s Service) SetGroupMembers(ctx context.Context, req *pbs.SetGroupMembersRequest) (*pbs.SetGroupMembersResponse, error)
SetGroupMembers implements the interface pbs.GroupServiceServer.
func (Service) UpdateGroup ¶
func (s Service) UpdateGroup(ctx context.Context, req *pbs.UpdateGroupRequest) (*pbs.UpdateGroupResponse, error)
UpdateGroup implements the interface pbs.GroupServiceServer.