Documentation ¶
Index ¶
- Variables
- type Service
- func (s Service) CreateManagedGroup(ctx context.Context, req *pbs.CreateManagedGroupRequest) (*pbs.CreateManagedGroupResponse, error)
- func (s Service) DeleteManagedGroup(ctx context.Context, req *pbs.DeleteManagedGroupRequest) (*pbs.DeleteManagedGroupResponse, error)
- func (s Service) GetManagedGroup(ctx context.Context, req *pbs.GetManagedGroupRequest) (*pbs.GetManagedGroupResponse, error)
- func (s Service) ListManagedGroups(ctx context.Context, req *pbs.ListManagedGroupsRequest) (*pbs.ListManagedGroupsResponse, error)
- func (s Service) UpdateManagedGroup(ctx context.Context, req *pbs.UpdateManagedGroupRequest) (*pbs.UpdateManagedGroupResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IdActions contains the set of actions that can be performed on // individual resources IdActions = map[subtypes.Subtype]action.ActionSet{ oidc.Subtype: { action.NoOp, action.Read, action.Update, action.Delete, }, } // 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.UnimplementedManagedGroupServiceServer // contains filtered or unexported fields }
Service handles request as described by the pbs.ManagedGroupServiceServer interface.
func NewService ¶
func NewService(oidcRepo common.OidcAuthRepoFactory) (Service, error)
NewService returns a managed group service which handles managed group related requests to boundary.
func (Service) CreateManagedGroup ¶
func (s Service) CreateManagedGroup(ctx context.Context, req *pbs.CreateManagedGroupRequest) (*pbs.CreateManagedGroupResponse, error)
CreateManagedGroup implements the interface pbs.ManagedGroupServiceServer.
func (Service) DeleteManagedGroup ¶
func (s Service) DeleteManagedGroup(ctx context.Context, req *pbs.DeleteManagedGroupRequest) (*pbs.DeleteManagedGroupResponse, error)
DeleteManagedGroup implements the interface pbs.ManagedGroupServiceServer.
func (Service) GetManagedGroup ¶
func (s Service) GetManagedGroup(ctx context.Context, req *pbs.GetManagedGroupRequest) (*pbs.GetManagedGroupResponse, error)
GetManagedGroup implements the interface pbs.ManagedGroupServiceServer.
func (Service) ListManagedGroups ¶
func (s Service) ListManagedGroups(ctx context.Context, req *pbs.ListManagedGroupsRequest) (*pbs.ListManagedGroupsResponse, error)
ListManagedGroups implements the interface pbs.ManagedGroupsServiceServer.
func (Service) UpdateManagedGroup ¶
func (s Service) UpdateManagedGroup(ctx context.Context, req *pbs.UpdateManagedGroupRequest) (*pbs.UpdateManagedGroupResponse, error)
UpdateManagedGroup implements the interface pbs.ManagedGroupServiceServer.
Click to show internal directories.
Click to hide internal directories.