Versions in this module Expand all Collapse all v0 v0.11.0 Oct 25, 2026 v0.10.0 Oct 20, 2026 Changes in this version + var ErrAdmissionDenied = errors.New("execution admission denied") + func CurrentEpoch(ws *unstructured.Unstructured, vmUID string) (uint64, error) + type AdmissionRequest struct + ActorID string + Elevated bool + ExecutionID string + GrantVersion string + Namespace string + OSIdentity string + Operation storage.Operation + RecordingID string + WorkspaceGeneration int64 + WorkspaceName string + WorkspaceUID string + type ReplayAuthorizer interface + AuthorizeReplay func(ctx context.Context, actorID string, rec storage.ExecutionRecord) error + type S3Config struct + AccessKey string + Bucket string + CAFile string + CreateBucket bool + Endpoint string + ForcePathStyle bool + Region string + SecretKey string + func (c S3Config) String() string + type Service struct + func NewService(store storage.Store) *Service + func (s *Service) Admit(ctx context.Context, req AdmissionRequest) (*Session, error) + func (s *Service) Close() error + func (s *Service) Durability() storage.Durability + func (s *Service) Get(ctx context.Context, executionID string) (storage.ExecutionRecord, storage.ExecutionOutcome, error) + func (s *Service) List(ctx context.Context, f storage.Filter) ([]storage.ExecutionRecord, error) + func (s *Service) Mode() string + func (s *Service) Ready(ctx context.Context) error + func (s *Service) RecordingStatus(ctx context.Context) (mode string, durable bool, available bool) + func (s *Service) Replay(ctx context.Context, actorID, executionID string) (storage.Reader, storage.ExecutionRecord, error) + func (s *Service) ReplayRecording(ctx context.Context, actorID, executionID string) (storage.Reader, storage.ExecutionRecord, error) + func (s *Service) WithReplayAuthorizer(a ReplayAuthorizer) *Service + type Session struct + func (s *Session) Abort(ctx context.Context, reason string) error + func (s *Session) AppendChunk(ctx context.Context, plaintext []byte) error + func (s *Session) Audit(ctx context.Context, kind string, detail map[string]string) error + func (s *Session) Finish(ctx context.Context, outcome storage.ExecutionOutcome) error + func (s *Session) Record() storage.ExecutionRecord + func (s *Session) Start(ctx context.Context) error + type StorageConfig struct + DatabaseURL string + EphemeralDir string + EphemeralMaxBytes int64 + KeyID string + MetadataRetention time.Duration + Mode StorageMode + RecordingRetention time.Duration + S3 S3Config + func StorageConfigFromEnv() (StorageConfig, error) + func (c StorageConfig) Persistent() bool + func (c StorageConfig) RecordingKey() []byte + func (c StorageConfig) StorageOptions() storage.Options + func (c StorageConfig) String() string + type StorageMode string + const StorageBundled + const StorageDisabled + const StorageEphemeral + const StorageExternal