1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#![warn(missing_docs)]
mod check;
mod start;
mod delete;
mod error;
#[cfg(feature = "cli")]
pub mod cli;
use fluvio_helm as helm;
pub use start::k8::ClusterInstaller;
pub use start::k8::ClusterInstallerBuilder;
pub use start::local::LocalClusterInstaller;
pub use error::{ClusterError, K8InstallError, LocalInstallError, UninstallError};
pub use helm::HelmError;
pub use check::{ClusterChecker, CheckStatus, CheckStatuses, CheckResult, CheckResults};
pub use check::{RecoverableCheck, UnrecoverableCheck, CheckFailed, CheckSuggestion};
pub use delete::ClusterUninstaller;
#[cfg(feature = "platform")]
const VERSION: &str = include_str!("../../../VERSION");
#[cfg(not(feature = "platform"))]
const VERSION: &str = "UNDEFINED";
pub(crate) const DEFAULT_NAMESPACE: &str = "default";
pub(crate) const DEFAULT_HELM_VERSION: &str = "3.3.4";
pub(crate) const DEFAULT_CHART_SYS_REPO: &str = "fluvio-sys";
pub(crate) const DEFAULT_CHART_APP_REPO: &str = "fluvio";
pub struct StartStatus {
address: String,
#[allow(unused)]
pub(crate) checks: Option<CheckStatuses>,
}
impl StartStatus {
pub fn address(&self) -> &str {
&self.address
}
}