groups

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MPL-2.0 Imports: 18 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.Read,
		action.Update,
		action.Delete,
		action.AddMembers,
		action.SetMembers,
		action.RemoveMembers,
	}

	// 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.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

AddGroupMembers implements the interface pbs.GroupServiceServer.

func (Service) CreateGroup

CreateGroup implements the interface pbs.GroupServiceServer.

func (Service) DeleteGroup

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

ListGroups implements the interface pbs.GroupServiceServer.

func (Service) RemoveGroupMembers

RemoveGroupMembers implements the interface pbs.GroupServiceServer.

func (Service) SetGroupMembers

SetGroupMembers implements the interface pbs.GroupServiceServer.

func (Service) UpdateGroup

UpdateGroup implements the interface pbs.GroupServiceServer.

Jump to

Keyboard shortcuts

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