workerservice

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 21 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) *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) 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.

func (*Server) SetWorkerCapacity

SetWorkerCapacity records a Worker's reported capacity. As with MintCert, 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