enroll

Function enroll 

Source
pub async fn enroll(
    client: &Client,
    cp_url: &str,
    hostname: &str,
    token_file: &Path,
    cert_path: &Path,
    ssh_host_key_path: &Path,
) -> Result<()>