pub async fn enroll_to(
target: &EnrollTarget,
node_id: &str,
kind: NodeKind,
code: Option<&str>,
state_dir: &Path,
) -> Result<EnrolledState, EnrollClientError>Expand description
enroll to any EnrollTarget.
pub async fn enroll_to(
target: &EnrollTarget,
node_id: &str,
kind: NodeKind,
code: Option<&str>,
state_dir: &Path,
) -> Result<EnrolledState, EnrollClientError>enroll to any EnrollTarget.