-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathoperator_configs.rs
More file actions
17 lines (16 loc) · 755 Bytes
/
operator_configs.rs
File metadata and controls
17 lines (16 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Args;
use stackable_cockpit::platform::operator::listener_operator::ListenerOperatorPreset;
#[derive(Debug, Args)]
#[command(next_help_heading = "Operator specific configurations")]
pub struct CommonOperatorConfigsArgs {
/// Choose the ListenerClass presets (`none`, `ephemeral-nodes` or `stable-nodes`).
///
/// This maps to the listener-operator preset, see
/// [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets)
/// for details.
///
/// This argument is likely temporary until we support setting arbitrary helm values for the
/// operators!
#[arg(long, global = true)]
pub listener_class_presets: Option<ListenerOperatorPreset>,
}