workers

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PkiWorkerType = "pki"
	KmsWorkerType = "kms"
)

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.Update,
		action.Delete,
	}

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

Functions

This section is empty.

Types

type Service

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

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

func NewService

func NewService(ctx context.Context, repo common.ServersRepoFactory, iamRepoFn common.IamRepoFactory) (Service, error)

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

func (Service) CreateWorkerLed

CreateWorker implements the interface pbs.WorkerServiceServer.

func (Service) DeleteWorker

DeleteWorker implements the interface pbs.WorkerServiceServer.

func (Service) GetWorker

GetWorker implements the interface pbs.WorkerServiceServer.

func (Service) ListWorkers

ListWorkers implements the interface pbs.WorkerServiceServer.

func (Service) UpdateWorker

UpdateWorker implements the interface pbs.WorkerServiceServer.

Jump to

Keyboard shortcuts

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