storescaler

package
v0.7.2 Latest Latest
Warning

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

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

Documentation

Overview

Package storescaler is the V1 store-backed activator.Scaler driver (ADR-0016): it records a function's scale intent as its partitioned status Phase — the wake edge Idle→Deploying for replicas>=1, the reclaim edge Ready/Degraded/empty→Idle for replicas==0 (activator.Reclaimable, ADR-0169, ADR-0185) — via store.Update. It is idempotent and edge-respecting (it never flips an off-diagram transition), and it re-reads and retries on the store's RV fault.Conflict so a concurrent controller (P-M) status write never drops the intent. A ref pinned to a held revision (ADR-0190 Decision 6) records the same edges on that Revision's status, never the Function's.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(st store.Store) activator.Scaler

New returns a store-backed activator.Scaler over st.

Types

This section is empty.

Jump to

Keyboard shortcuts

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