File tree Expand file tree Collapse file tree
stackable-operator/src/cli
stackable-webhook/src/servers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pub const AUTHOR: &str = "Stackable GmbH - info@stackable.tech";
4343/// use clap::Parser;
4444///
4545/// #[derive(Parser)]
46- /// enum Command {
46+ /// enum CustomCommand {
4747/// /// Print hello world message
4848/// Hello,
4949///
Original file line number Diff line number Diff line change @@ -126,18 +126,21 @@ impl ConversionWebhookServer {
126126 /// use stackable_operator::{
127127 /// kube::Client,
128128 /// crd::s3::{S3Connection, S3ConnectionVersion},
129- /// cli::ProductOperatorRun ,
129+ /// cli::{RunArguments, MaintenanceOptions} ,
130130 /// };
131131 ///
132132 /// # async fn test() {
133133 /// // Things that should already be in you operator:
134134 /// const OPERATOR_NAME: &str = "product-operator";
135135 /// let client = Client::try_default().await.expect("failed to create Kubernetes client");
136- /// let ProductOperatorRun {
136+ /// let RunArguments {
137137 /// operator_environment,
138- /// disable_crd_maintenance,
138+ /// maintenance: MaintenanceOptions {
139+ /// disable_crd_maintenance,
140+ /// ..
141+ /// },
139142 /// ..
140- /// } = ProductOperatorRun ::parse();
143+ /// } = RunArguments ::parse();
141144 ///
142145 /// let crds_and_handlers = [
143146 /// (
You can’t perform that action at this time.
0 commit comments