pub struct CreateSessionRequest {
pub cfs_conf_sess_name: Option<String>,
pub playbook_yaml_file_name: Option<String>,
pub hsm_group: Option<String>,
pub repo_names: Vec<String>,
pub repo_last_commit_ids: Vec<String>,
pub ansible_limit: Option<String>,
pub ansible_verbosity: Option<String>,
pub ansible_passthrough: Option<String>,
}Expand description
Request body for POST /api/v1/sessions.
The CLI submits this when the user runs manta run session; the
server deserialises it in handlers::session::create_session.
repo_names and repo_last_commit_ids are parallel-indexed —
repo_last_commit_ids[i] is the commit SHA for repo_names[i].
Fields§
§cfs_conf_sess_name: Option<String>Explicit name for the CFS session and configuration; auto-generated when absent.
playbook_yaml_file_name: Option<String>Ansible playbook filename inside the repository.
hsm_group: Option<String>Target HSM group name.
repo_names: Vec<String>Git repository names (parallel-indexed with
repo_last_commit_ids).
repo_last_commit_ids: Vec<String>Git commit SHAs matching each entry in repo_names.
ansible_limit: Option<String>Ansible --limit expression restricting which xnames are
targeted (the service-layer authz check rejects group names —
pre-resolve them client-side).
ansible_verbosity: Option<String>Ansible verbosity level (e.g. "-v", "-vvv").
ansible_passthrough: Option<String>Extra arguments forwarded verbatim to ansible-playbook.
Trait Implementations§
Source§impl Debug for CreateSessionRequest
impl Debug for CreateSessionRequest
Source§impl<'de> Deserialize<'de> for CreateSessionRequest
impl<'de> Deserialize<'de> for CreateSessionRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateSessionRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateSessionRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for CreateSessionRequest
impl Serialize for CreateSessionRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for CreateSessionRequest
impl RefUnwindSafe for CreateSessionRequest
impl Send for CreateSessionRequest
impl Sync for CreateSessionRequest
impl Unpin for CreateSessionRequest
impl UnwindSafe for CreateSessionRequest
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
§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>
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>
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 more