workerservice

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package workerservice serves the RPCs a Worker uses to tell the control plane about itself and what it observes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	ateapipb.UnimplementedWorkerServiceServer
	// contains filtered or unexported fields
}

Server implements ateapipb.WorkerServiceServer.

func New

func New(store store.Interface, suspender actorSuspender, ateletSPIFFEID string, actorIDCAPool localca.Pool, actorJWTIssuer string, actorIDJWTPool localjwtauthority.Pool) *Server

func (*Server) MintAteomActorCertificate added in v0.2.0

MintAteomActorCertificate mints a Substrate-issued SPIFFE certificate that asserts an ateom acting on behalf of a particular actor.

func (*Server) MintAteomActorJwt added in v0.5.0

func (*Server) RegisterWorker added in v0.4.0

RegisterWorker records a Worker's reported capacity and sandbox runtimes in one write. As with MintCert, the caller must be an atelet running on the Worker's node.

func (*Server) RequestActorSuspend added in v0.2.0

RequestActorSuspend suspends an Actor on behalf of the Worker hosting it. The caller must be an atelet running on the Worker's node.

Jump to

Keyboard shortcuts

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