|
1 | | -//! This modules provides resource types used to interact with [listener-operator](https://docs.stackable.tech/listener-operator/stable/index.html) |
| 1 | +//! This modules provides resource types used to interact with [listener-operator][listener-docs]. |
2 | 2 | //! |
3 | 3 | //! # Custom Resources |
4 | 4 | //! |
5 | 5 | //! ## [`Listener`] |
6 | 6 | //! |
7 | | -//! Exposes a set of pods, either internally to the cluster or to the outside world. The mechanism for how it is exposed |
8 | | -//! is managed by the [`ListenerClass`]. |
| 7 | +//! Exposes a set of pods, either internally to the cluster or to the outside world. The mechanism |
| 8 | +//! for how it is exposed is managed by the [`ListenerClass`]. |
9 | 9 | //! |
10 | | -//! It can be either created manually by the application administrator (for applications that expose a single load-balanced endpoint), |
11 | | -//! or automatically when mounting a [listener volume](`ListenerOperatorVolumeSourceBuilder`) (for applications that expose a separate endpoint |
12 | | -//! per replica). |
| 10 | +//! It can be either created manually by the application administrator (for applications that expose |
| 11 | +//! a single load-balanced endpoint), or automatically when mounting a [listener volume][lvb] (for |
| 12 | +//! applications that expose a separate endpoint per replica). |
13 | 13 | //! |
14 | | -//! All exposed pods *must* have a mounted [listener volume](`ListenerOperatorVolumeSourceBuilder`), regardless of whether the [`Listener`] is created automatically. |
| 14 | +//! All exposed pods *must* have a mounted [listener volume][lvb], regardless of whether the |
| 15 | +//! [`Listener`] is created automatically. |
15 | 16 | //! |
16 | 17 | //! ## [`ListenerClass`] |
17 | 18 | //! |
|
24 | 25 | //! Informs users and other operators about the state of all [`Listener`]s associated with a [`Pod`]. |
25 | 26 | //! |
26 | 27 | //! It is created by the Stackable Secret Operator, and always named `pod-{pod.metadata.uid}`. |
| 28 | +//! |
| 29 | +//! [listener-docs]: https://docs.stackable.tech/listener-operator/stable/index.html |
| 30 | +//! [lvb]: ListenerOperatorVolumeSourceBuilder |
27 | 31 |
|
28 | 32 | #[cfg(doc)] |
29 | | -use k8s_openapi::api::core::v1::{ |
30 | | - Node, PersistentVolume, PersistentVolumeClaim, Pod, Service, Volume, |
31 | | -}; |
| 33 | +use k8s_openapi::api::core::v1::{Node, PersistentVolume, PersistentVolumeClaim, Pod, Volume}; |
32 | 34 | use schemars::JsonSchema; |
33 | 35 | use serde::{Deserialize, Serialize}; |
34 | 36 |
|
|
0 commit comments