Skip to main content

kv_instance_title

Function kv_instance_title 

Source
pub fn kv_instance_title(worker: &str, binding: &str) -> String
Expand description

S4b (#1967): the account-facing title stem of a derived instance’s KV namespace, <worker>-<capability, kebab>: shop-cart and KV_SESSIONS give shop-cart-sessions, KV_PRICE_CACHE gives shop-cart-price-cache. Read off the binding, which is a function of the capability’s name, so a renamed capability is a new title. bynk deploy environment-qualifies it.