#[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: 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
GP
type 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
initializationScript
andcommandLineArguments
parameters. -
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
GP
type 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
initializationScript
andcommandLineArguments
parameters. -
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 ==
.