pub struct Orchestrator {}Expand description
Orchestrates deployment operations.
Implementations§
Source§impl Orchestrator
impl Orchestrator
Sourcepub fn deploy_all(
&self,
cfg: &Container,
filter: Option<&DeployerFilterFunc<'_>>,
kubeconfig: &str,
) -> Result<(), OrchestratorError>
pub fn deploy_all( &self, cfg: &Container, filter: Option<&DeployerFilterFunc<'_>>, kubeconfig: &str, ) -> Result<(), OrchestratorError>
Deploys all deployers matching the filter predicate.
If filter is None, all deployers are deployed. Aborts on the
first deployment failure.
§Errors
Returns OrchestratorError if ordering the deployers fails,
creating a deployer manager for a deployer’s type fails, or a
deployer’s deploy call fails.
§Panics
Panics if a deployer named by order::list_deployers_in_order is
absent from cfg, which cannot happen because that function only
returns names it read from cfg itself.
Trait Implementations§
Source§impl Debug for Orchestrator
impl Debug for Orchestrator
Source§impl Default for Orchestrator
impl Default for Orchestrator
Source§fn default() -> Orchestrator
fn default() -> Orchestrator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Orchestrator
impl RefUnwindSafe for Orchestrator
impl Send for Orchestrator
impl Sync for Orchestrator
impl Unpin for Orchestrator
impl UnsafeUnpin for Orchestrator
impl UnwindSafe for Orchestrator
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§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 more