workers

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MPL-2.0 Imports: 30 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,
		action.AddWorkerTags,
		action.SetWorkerTags,
		action.RemoveWorkerTags,
	}

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

Functions

This section is empty.

Types

type Service

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

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

func NewService

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

func (Service) AddWorkerTags added in v0.10.0

AddWorkerTags implements the interface pbs.WorkerServiceServer.

func (Service) CreateControllerLed added in v0.10.4

CreateControllerLed implements the interface pbs.WorkerServiceServer and handles a request to create a new worker, generating and returning an activation token

func (Service) CreateWorkerLed

CreateWorkerLed implements the interface pbs.WorkerServiceServer and handles a request to create a new worker and consume a worker-generated authorization request

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) ReadCertificateAuthority added in v0.11.0

ReadCertificateAuthority will list the next and current certificates for the worker certificate authority

func (Service) ReinitializeCertificateAuthority added in v0.11.0

ReinitializeCertificateAuthority will delete and regenerate the next and current certificates for the worker certificate authority

func (Service) RemoveWorkerTags added in v0.10.0

RemoveWorkerTags implements the interface pbs.WorkerServiceServer.

func (Service) SetWorkerTags added in v0.10.0

SetWorkerTags 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