users

package
v0.1.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2020 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

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

CreateUser implements the interface pbs.UserServiceServer.

func (Service) DeleteUser

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

ListUsers implements the interface pbs.UserServiceServer.

func (Service) UpdateUser

UpdateUser implements the interface pbs.UserServiceServer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL