File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
stackable-operator/src/cli
stackable-webhook/src/servers Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 43
43
/// use clap::Parser;
44
44
///
45
45
/// #[derive(Parser)]
46
- /// enum Command {
46
+ /// enum CustomCommand {
47
47
/// /// Print hello world message
48
48
/// Hello,
49
49
///
Original file line number Diff line number Diff line change @@ -126,18 +126,21 @@ impl ConversionWebhookServer {
126
126
/// use stackable_operator::{
127
127
/// kube::Client,
128
128
/// crd::s3::{S3Connection, S3ConnectionVersion},
129
- /// cli::ProductOperatorRun ,
129
+ /// cli::{RunArguments, MaintenanceOptions} ,
130
130
/// };
131
131
///
132
132
/// # async fn test() {
133
133
/// // Things that should already be in you operator:
134
134
/// const OPERATOR_NAME: &str = "product-operator";
135
135
/// let client = Client::try_default().await.expect("failed to create Kubernetes client");
136
- /// let ProductOperatorRun {
136
+ /// let RunArguments {
137
137
/// operator_environment,
138
- /// disable_crd_maintenance,
138
+ /// maintenance: MaintenanceOptions {
139
+ /// disable_crd_maintenance,
140
+ /// ..
141
+ /// },
139
142
/// ..
140
- /// } = ProductOperatorRun ::parse();
143
+ /// } = RunArguments ::parse();
141
144
///
142
145
/// let crds_and_handlers = [
143
146
/// (
You can’t perform that action at this time.
0 commit comments