Documentation ¶
Index ¶
- func SortScopes(scps []*pb.Scope)
- func ToProto(in *iam.Scope) *pb.Scope
- type Service
- func (s Service) CreateScope(ctx context.Context, req *pbs.CreateScopeRequest) (*pbs.CreateScopeResponse, error)
- func (s Service) DeleteScope(ctx context.Context, req *pbs.DeleteScopeRequest) (*pbs.DeleteScopeResponse, error)
- func (s Service) GetScope(ctx context.Context, req *pbs.GetScopeRequest) (*pbs.GetScopeResponse, error)
- func (s Service) ListScopes(ctx context.Context, req *pbs.ListScopesRequest) (*pbs.ListScopesResponse, error)
- func (s Service) UpdateScope(ctx context.Context, req *pbs.UpdateScopeRequest) (*pbs.UpdateScopeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortScopes ¶
Types ¶
type Service ¶
type Service struct { pbs.UnimplementedScopeServiceServer // contains filtered or unexported fields }
Service handles requests as described by the pbs.ScopeServiceServer interface.
func NewService ¶
func NewService(repo common.IamRepoFactory) (Service, error)
NewService returns a project service which handles project related requests to boundary.
func (Service) CreateScope ¶
func (s Service) CreateScope(ctx context.Context, req *pbs.CreateScopeRequest) (*pbs.CreateScopeResponse, error)
CreateScope implements the interface pbs.ScopeServiceServer.
func (Service) DeleteScope ¶
func (s Service) DeleteScope(ctx context.Context, req *pbs.DeleteScopeRequest) (*pbs.DeleteScopeResponse, error)
DeleteScope implements the interface pbs.ScopeServiceServer.
func (Service) GetScope ¶
func (s Service) GetScope(ctx context.Context, req *pbs.GetScopeRequest) (*pbs.GetScopeResponse, error)
GetScopes implements the interface pbs.ScopeServiceServer.
func (Service) ListScopes ¶
func (s Service) ListScopes(ctx context.Context, req *pbs.ListScopesRequest) (*pbs.ListScopesResponse, error)
ListScopes implements the interface pbs.ScopeServiceServer.
func (Service) UpdateScope ¶
func (s Service) UpdateScope(ctx context.Context, req *pbs.UpdateScopeRequest) (*pbs.UpdateScopeResponse, error)
UpdateScope implements the interface pbs.ScopeServiceServer.
Click to show internal directories.
Click to hide internal directories.