Skip to content

Commit b3ae7bd

Browse files
committed
docs
1 parent a5cc9fb commit b3ae7bd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

rust/operator-binary/src/discovery.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub enum Error {
6262
},
6363
}
6464

65-
/// Builds discovery [`ConfigMap`]s for connecting to a [`crate::crd::v1alpha1::ZookeeperCluster`] for all expected scenarios
65+
/// Builds discovery [`ConfigMap`]s for connecting to a [`v1alpha1::ZookeeperCluster`] for all expected scenarios
6666
#[allow(clippy::too_many_arguments)]
6767
pub async fn build_discovery_configmaps(
6868
zk: &v1alpha1::ZookeeperCluster,
@@ -107,7 +107,7 @@ pub async fn build_discovery_configmaps(
107107
Ok(discovery_configmaps)
108108
}
109109

110-
/// Build a discovery [`ConfigMap`] containing information about how to connect to a certain [`crate::crd::v1alpha1::ZookeeperCluster`]
110+
/// Build a discovery [`ConfigMap`] containing information about how to connect to a certain [`v1alpha1::ZookeeperCluster`]
111111
///
112112
/// `hosts` will usually come from either [`pod_hosts`] or [`nodeport_hosts`].
113113
#[allow(clippy::too_many_arguments)]
@@ -168,7 +168,7 @@ fn build_discovery_configmap(
168168
.context(BuildConfigMapSnafu)
169169
}
170170

171-
/// Lists all Pods FQDNs expected to host the [`crate::crd::v1alpha1::ZookeeperCluster`]
171+
/// Lists all Pods FQDNs expected to host the [`v1alpha1::ZookeeperCluster`]
172172
fn pod_hosts<'a>(
173173
zk: &'a v1alpha1::ZookeeperCluster,
174174
zookeeper_security: &'a ZookeeperSecurity,

rust/operator-binary/src/zk_controller.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Ensures that `Pod`s are configured and running for each [`ZookeeperCluster`]
1+
//! Ensures that `Pod`s are configured and running for each [`v1alpha1::ZookeeperCluster`]
22
use std::{
33
borrow::Cow,
44
collections::{BTreeMap, HashMap},
@@ -523,7 +523,7 @@ pub async fn reconcile_zk(
523523
/// The server-role service is the primary endpoint that should be used by clients that do not perform internal load balancing,
524524
/// including targets outside of the cluster.
525525
///
526-
/// Note that you should generally *not* hard-code clients to use these services; instead, create a [`v1alpha1::ZookeeperZnode`](`crate::crd::v1alpha1::ZookeeperZnode`)
526+
/// Note that you should generally *not* hard-code clients to use these services; instead, create a [`v1alpha1::ZookeeperZnode`](`v1alpha1::ZookeeperZnode`)
527527
/// and use the connection string that it gives you.
528528
pub fn build_server_role_service(
529529
zk: &v1alpha1::ZookeeperCluster,

rust/operator-binary/src/znode_controller.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//! Reconciles state for ZooKeeper znodes between Kubernetes [`ZookeeperZnode`] objects and the ZooKeeper cluster
1+
//! Reconciles state for ZooKeeper znodes between Kubernetes [`v1alpha1::ZookeeperZnode`] objects and the ZooKeeper cluster
22
//!
3-
//! See [`ZookeeperZnode`] for more details.
3+
//! See [`v1alpha1::ZookeeperZnode`] for more details.
44
use std::{borrow::Cow, convert::Infallible, sync::Arc};
55

66
use const_format::concatcp;

0 commit comments

Comments
 (0)