users

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// IdActions contains the set of actions that can be performed on
	// individual resources
	IdActions = action.ActionSet{
		action.NoOp,
		action.Read,
		action.Update,
		action.Delete,
		action.AddAccounts,
		action.SetAccounts,
		action.RemoveAccounts,
	}

	// CollectionActions contains the set of actions that can be performed on
	// this collection
	CollectionActions = action.ActionSet{
		action.Create,
		action.List,
	}
)

Functions

This section is empty.

Types

type Service

type Service struct {
	pbs.UnimplementedUserServiceServer
	// 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) AddUserAccounts

AddUserAccounts implements the interface pbs.GroupServiceServer.

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) RemoveUserAccounts

RemoveUserAccounts implements the interface pbs.GroupServiceServer.

func (Service) SetUserAccounts

SetUserAccounts implements the interface pbs.GroupServiceServer.

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