Documentation ¶
Index ¶
- type Service
- func (s Service) CreateUser(ctx context.Context, req *pbs.CreateUserRequest) (*pbs.CreateUserResponse, error)
- func (s Service) DeleteUser(ctx context.Context, req *pbs.DeleteUserRequest) (*pbs.DeleteUserResponse, error)
- func (s Service) GetUser(ctx context.Context, req *pbs.GetUserRequest) (*pbs.GetUserResponse, error)
- func (s Service) ListUsers(ctx context.Context, req *pbs.ListUsersRequest) (*pbs.ListUsersResponse, error)
- func (s Service) UpdateUser(ctx context.Context, req *pbs.UpdateUserRequest) (*pbs.UpdateUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service handles request as described by the pbs.UserServiceServer interface.
func NewService ¶
func NewService(repo common.IamRepoFactory) (Service, error)
NewService returns a user service which handles user related requests to boundary.
func (Service) CreateUser ¶
func (s Service) CreateUser(ctx context.Context, req *pbs.CreateUserRequest) (*pbs.CreateUserResponse, error)
CreateUser implements the interface pbs.UserServiceServer.
func (Service) DeleteUser ¶
func (s Service) DeleteUser(ctx context.Context, req *pbs.DeleteUserRequest) (*pbs.DeleteUserResponse, error)
DeleteUser implements the interface pbs.UserServiceServer.
func (Service) GetUser ¶
func (s Service) GetUser(ctx context.Context, req *pbs.GetUserRequest) (*pbs.GetUserResponse, error)
GetUsers implements the interface pbs.UserServiceServer.
func (Service) ListUsers ¶
func (s Service) ListUsers(ctx context.Context, req *pbs.ListUsersRequest) (*pbs.ListUsersResponse, error)
ListUsers implements the interface pbs.UserServiceServer.
func (Service) UpdateUser ¶
func (s Service) UpdateUser(ctx context.Context, req *pbs.UpdateUserRequest) (*pbs.UpdateUserResponse, error)
UpdateUser implements the interface pbs.UserServiceServer.
Click to show internal directories.
Click to hide internal directories.