#[non_exhaustive]pub struct KxClusterCodeDeploymentConfiguration {
pub deployment_strategy: KxClusterCodeDeploymentStrategy,
}Expand description
The configuration that allows you to choose how you want to update code on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.deployment_strategy: KxClusterCodeDeploymentStrategyThe type of deployment that you want on a cluster.
-
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
GPtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters. -
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
Implementations§
source§impl KxClusterCodeDeploymentConfiguration
impl KxClusterCodeDeploymentConfiguration
sourcepub fn deployment_strategy(&self) -> &KxClusterCodeDeploymentStrategy
pub fn deployment_strategy(&self) -> &KxClusterCodeDeploymentStrategy
The type of deployment that you want on a cluster.
-
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
GPtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters. -
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
source§impl KxClusterCodeDeploymentConfiguration
impl KxClusterCodeDeploymentConfiguration
sourcepub fn builder() -> KxClusterCodeDeploymentConfigurationBuilder
pub fn builder() -> KxClusterCodeDeploymentConfigurationBuilder
Creates a new builder-style object to manufacture KxClusterCodeDeploymentConfiguration.
Trait Implementations§
source§impl Clone for KxClusterCodeDeploymentConfiguration
impl Clone for KxClusterCodeDeploymentConfiguration
source§fn clone(&self) -> KxClusterCodeDeploymentConfiguration
fn clone(&self) -> KxClusterCodeDeploymentConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for KxClusterCodeDeploymentConfiguration
impl PartialEq for KxClusterCodeDeploymentConfiguration
source§fn eq(&self, other: &KxClusterCodeDeploymentConfiguration) -> bool
fn eq(&self, other: &KxClusterCodeDeploymentConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KxClusterCodeDeploymentConfiguration
Auto Trait Implementations§
impl Freeze for KxClusterCodeDeploymentConfiguration
impl RefUnwindSafe for KxClusterCodeDeploymentConfiguration
impl Send for KxClusterCodeDeploymentConfiguration
impl Sync for KxClusterCodeDeploymentConfiguration
impl Unpin for KxClusterCodeDeploymentConfiguration
impl UnwindSafe for KxClusterCodeDeploymentConfiguration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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