Skip to main content

ui_deployments

Function ui_deployments 

Source
pub fn ui_deployments(
    config: &Config,
    tls: Option<&Tls>,
) -> Result<Vec<Deployment<HttpTransport>>, AppError>
Expand description

The deployments [ui] deployments names, each with a client of its webserver’s API.

§Errors

AppError::BadArgument for none, a name that isn’t letters, digits, - and _, a name given twice, an unreadable token file, or an https:// URL (a webserver’s UI port, over mTLS) without tls.