pub fn build_candidate_object(
policy: &str,
replaces: Option<&str>,
content: Value,
) -> ValueExpand description
Build the PostgresPolicyCandidate object to create.
generateName rather than a fixed name: two reviewers filing against the
same policy at the same moment must not collide, and a candidate is a
one-shot object that is never re-applied.