//! Global client identity used as HTTP `User-Agent` and Kubernetes field-manager.
//!
//! The consuming application **must** call `set_client_name` once at startup.
//! Any [`crate::http::RestClient`] or `k8s` call before that panics with an actionable message.
use OnceLock;
static CLIENT_NAME: = new;
/// Configure the identity vynil-core reports as the HTTP `User-Agent` and, when the `k8s`
/// feature is active, as the Server-Side-Apply field manager.
///
/// There is no built-in default: the consuming application must call this once, before issuing
/// any `RestClient` or `k8s` call, or those calls will panic.
/// Returns `true` if [`set_client_name`] has been called.
/// Returns the configured client name, panicking if not set (see [`set_client_name`]).