Skip to main content

availability

Function availability 

Source
pub fn availability() -> Result<(), CockpitUnavailable>
Expand description

Whether a Cockpit could be started now, decided exactly as a start decides it (shipped bundle imported first, then authenticated), without starting one and without network. Lets a command fall back to its terminal report before it opens a browser on the install page.