sessions

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MPL-2.0 Imports: 19 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.ReadSelf,
		action.Cancel,
		action.CancelSelf,
	}

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

Functions

This section is empty.

Types

type Service

type Service struct {
	pbs.UnsafeSessionServiceServer
	// contains filtered or unexported fields
}

Service handles request as described by the pbs.SessionServiceServer interface.

func NewService

func NewService(repoFn session.RepositoryFactory, iamRepoFn common.IamRepoFactory) (Service, error)

NewService returns a session service which handles session related requests to boundary.

func (Service) CancelSession

CancelSession implements the interface pbs.SessionServiceServer.

func (Service) GetSession

GetSessions implements the interface pbs.SessionServiceServer.

func (Service) ListSessions

ListSessions implements the interface pbs.SessionServiceServer.

Jump to

Keyboard shortcuts

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