pub struct CreateCfsSessionParams<'a> {
pub cfs_conf_sess_name: Option<&'a str>,
pub playbook_yaml_file_name: Option<&'a str>,
pub group: Option<&'a str>,
pub repo_names: &'a [&'a str],
pub repo_last_commit_ids: &'a [&'a str],
pub ansible_limit: Option<&'a str>,
pub ansible_verbosity: Option<&'a str>,
pub ansible_passthrough: Option<&'a str>,
}Expand description
Parameters for create_cfs_session. Bundled to keep the
service entry point readable at the call site (the handler-level
CreateSessionRequest body folds 1:1 into this).
Fields§
§cfs_conf_sess_name: Option<&'a str>Optional caller-supplied session name; backend autogenerates one when absent.
playbook_yaml_file_name: Option<&'a str>Optional playbook path inside the rendered configuration.
group: Option<&'a str>HSM group the session targets when no ansible_limit is given.
repo_names: &'a [&'a str]VCS repository names mirroring repo_last_commit_ids.
repo_last_commit_ids: &'a [&'a str]Commit SHAs, one per repo_names entry.
ansible_limit: Option<&'a str>Hosts expression (xnames / NIDs / hostlist) limiting the session; resolved to xnames before the CFS request.
ansible_verbosity: Option<&'a str>Ansible verbosity flag (-v .. -vvv).
ansible_passthrough: Option<&'a str>Arbitrary args forwarded to ansible-playbook.
Auto Trait Implementations§
impl<'a> Freeze for CreateCfsSessionParams<'a>
impl<'a> RefUnwindSafe for CreateCfsSessionParams<'a>
impl<'a> Send for CreateCfsSessionParams<'a>
impl<'a> Sync for CreateCfsSessionParams<'a>
impl<'a> Unpin for CreateCfsSessionParams<'a>
impl<'a> UnwindSafe for CreateCfsSessionParams<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.