control

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package control implements the fenced Kernel-to-Runtime gRPC boundary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Service)

Option configures the runtime control service.

func WithSpiffeClaimBinding

func WithSpiffeClaimBinding(trustDomain string) Option

WithSpiffeClaimBinding binds every request's tenant (and, where present, runtime instance) claims to the peer's X.509-SVID SPIFFE ID (ADR-011). The transport must be mutual TLS; requests without a verified SVID are rejected.

type Service

type Service struct {
	runtimev1.UnimplementedRuntimeControlServiceServer
	// contains filtered or unexported fields
}

func NewService

func NewService(repository store.RuntimeStore, allowedTenant string, maxLeaseTTL time.Duration, options ...Option) *Service

func (*Service) CommitCheckpoint

func (*Service) CompleteAttempt

func (*Service) GetAssignment

func (*Service) Heartbeat

func (*Service) PollAssignment

Jump to

Keyboard shortcuts

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