scopes

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortScopes

func SortScopes(scps []*pb.Scope)

func ToProto

func ToProto(in *iam.Scope) *pb.Scope

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

CreateScope implements the interface pbs.ScopeServiceServer.

func (Service) DeleteScope

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

ListScopes implements the interface pbs.ScopeServiceServer.

func (Service) UpdateScope

UpdateScope implements the interface pbs.ScopeServiceServer.

Jump to

Keyboard shortcuts

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